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