Little-endian Byte Order
get_uint16 t i returns the two bytes in t starting at offset i, interpreted as an uint16. Sign extension is not interpreted.
- raises Invalid_argument
 if
tis too small.
get_uint32 t i returns the four bytes in t starting at offset i. t needs at least read-capability rd.
- raises Invalid_argument
 if
tis too small.
get_uint64 t i returns the eight bytes in t starting at offset i. t needs at least read-capability rd.
- raises Invalid_argument
 if
tis too small.
set_uint16 t i v sets the two bytes in t starting at offset i to the value v. t needs at least write-capability wr.
- raises Invalid_argument
 if
tis too small.
set_uint32 t i v sets the four bytes in t starting at offset i to the value v. t needs at least write-capability wr.
- raises Invalid_argument
 if
tis too small.