nom8::character

Function u8

Source
pub fn u8<T, E: ParseError<T>, const STREAMING: bool>(
    input: T,
) -> IResult<T, u8, E>
Expand description

will parse a number in text form to a number

Complete version: can parse until the end of input.

Streaming version: Will return Err(nom8::Err::Incomplete(_)) if there’s not enough input data.