unsigned_varint::decode
pub fn u32(buf: &[u8]) -> Result<(u32, &[u8]), Error>
Decode the given slice as u32.
u32
Returns the value and the remaining slice.