Function unsigned_varint::decode::usize

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

Decode the given slice as usize.

Returns the value and the remaining slice.