Function u8
fn u8<I, E: ParseError<I>>(input: I) -> IResult<I, u8, E>
where
I: Input<Item = u8>
Recognizes an unsigned 1 byte integer
Note that endianness does not apply to 1 byte numbers. complete version: returns an error if there is not enough input data
# use ;
# use Size;
use u8;
let parser = ;
assert_eq!;
assert_eq!;