Crate bitconv

Source

Modules§

endian

Traits§

BitConvEndian

Functions§

to_int16
Returns a 16-bit signed integer converted from two bytes at a specified position in a byte array.
to_int32
Returns a 32-bit signed integer converted from four bytes at a specified position in a byte array.
to_int64
Returns a 64-bit signed integer converted from eight bytes at a specified position in a byte array.
to_uint16
Returns a 16-bit unsigned integer converted from two bytes at a specified position in a byte array.
to_uint32
Returns a 32-bit unsigned integer converted from four bytes at a specified position in a byte array.
to_uint64
Returns a 64-bit unsigned integer converted from eight bytes at a specified position in a byte array.