Function unsigned_varint::decode::u8[][src]

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

Decode the given slice as u8.

Returns the value and the remaining slice.