chickadee » endian-sequence » endian-sequence->uint2

endian-sequence->uint1 ENDIAN-SEQUENCEprocedure
endian-sequence->uint2 ENDIAN-SEQUENCEprocedure
endian-sequence->uint4 ENDIAN-SEQUENCEprocedure
uint1->endian-sequence NUMBER #!optional MODEprocedure
uint2->endian-sequence NUMBER #!optional MODEprocedure
uint4->endian-sequence NUMBER #!optional MODEprocedure

These procedures convert between endian sequences and unsigned 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.