pub fn get_i16b(buf: &[u8]) -> i16
Expand description

Reads the first 2 bytes of a buffer, stores them in a big-endian order, and returns them as an i16.