Function endianness::read_u16
[−]
[src]
pub fn read_u16(data: &[u8], endianness: ByteOrder) -> EndiannessResult<u16>
Reads unsigned 16-bit integer from a stream of bytes.
pub fn read_u16(data: &[u8], endianness: ByteOrder) -> EndiannessResult<u16>
Reads unsigned 16-bit integer from a stream of bytes.