chickadee » endian-sequence » endian-sequence->sint1

endian-sequence->sint1 ENDIAN-SEQUENCEprocedure
endian-sequence->sint2 ENDIAN-SEQUENCEprocedure
endian-sequence->sint4 ENDIAN-SEQUENCEprocedure
sint1->endian-sequence NUMBER #!optional MODEprocedure
sint2->endian-sequence NUMBER #!optional MODEprocedure
sint4->endian-sequence NUMBER #!optional MODEprocedure

These procedures convert between endian sequences and signed integers of size 1, 2, or 4 bytes, respectively. Exceptions are thrown if the given endian sequences are of incorrect size, or if the given numbers are too big to fit in the specified size. Optional argument MODE indicates the endianness of the resulting endian sequence and can be one of MSB or LSB. Default is MSB.