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