Function be_u8
fn be_u8<Input, Error>(input: &mut Input) -> Result<u8, Error>
where
Input: StreamIsPartial + Stream<Token = u8>,
Error: ParserError<Input>
Recognizes an unsigned 1 byte integer.
Complete version: Returns an error if there is not enough input data.
[Partial version][crate::_topic::partial]: Will return Err(winnow::error::ErrMode::Incomplete(_)) if there is not enough data.
Example
# use ;
# use *;
# use Size;
use be_u8;
assert_eq!;
assert!;
# use ;
# use *;
# use Partial;
use be_u8;
assert_eq!;
assert_eq!;