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