Function unsigned_varint::decode::u32

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

Decode the given slice as u32.

Returns the value and the remaining slice.