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