Skip to main content

decode_i16

Function decode_i16 

Source
pub fn decode_i16(data: &[u8]) -> Result<i16, DriverError>
Expand description

Decode a 16-bit integer from binary format (2 bytes, big-endian).