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

Decode the given slice as u8.

Returns the value and the remaining slice.