Function winnow::ascii::dec_uint

source ·
pub fn dec_uint<I, O, E: ParserError<I>>(input: &mut I) -> PResult<O, E>
where I: StreamIsPartial + Stream, <I as Stream>::Token: AsChar + Clone, O: Uint,
Expand description

Decode a decimal unsigned integer (e.g. u32)

Complete version: can parse until the end of input.

Partial version: Will return Err(winnow::error::ErrMode::Incomplete(_)) if there’s not enough input data.