Function nom8::character::u32

source ·
pub fn u32<T, E: ParseError<T>, const STREAMING: bool>(
    input: T
) -> IResult<T, u32, E>where
    T: InputIter + Slice<RangeFrom<usize>> + InputLength + InputIsStreaming<STREAMING> + IntoOutput,
    <T as InputIter>::Item: AsChar,
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.