Cstruct.LE
Get/set little-endian integers of various sizes. The second argument of those functions is the position relative to the current offset of the cstruct.
get_uint16 cstr off
is the 16 bit long little-endian unsigned integer stored in cstr
at offset off
.
get_uint32 cstr off
is the 32 bit long little-endian unsigned integer stored in cstr
at offset off
.
get_uint64 cstr off
is the 64 bit long little-endian unsigned integer stored in cstr
at offset off
.
set_uint16 cstr off i
writes the 16 bit long little-endian unsigned integer i
at offset off
of cstr
.
set_uint32 cstr off i
writes the 32 bit long little-endian unsigned integer i
at offset off
of cstr
.