Function unsigned_varint::decode::u32[][src]

pub fn u32(buf: &[u8]) -> Result<(u32, &[u8]), Error>

Decode the given slice as u32.

Returns the value and the remaining slice.