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