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