Function winnow::character::dec_int

source ·
pub fn dec_int<I, O, E: ParseError<I>>(input: I) -> IResult<I, O, E>where
    I: StreamIsPartial + Stream,
    <I as Stream>::Token: AsChar + Copy,
    O: Int,
Expand description

Decode a decimal signed integer

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.