read_i16

Function read_i16 

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

Read 2-byte big-endian signed integer.