pub fn decode_unsigned_u16(data: &[u8]) -> Result<u16, Error>
Decode an unsigned integer that fits in a u16 from 1-8 big-endian bytes. Leading zero bytes are accepted; values above u16::MAX are rejected.
u16
u16::MAX