pub unsafe fn read_i16(ptr: *const u8) -> i16
Reads a big-endian i16 from a u8 pointer.
i16
u8
The pointer must point to at least 2 bytes.