pub fn i32<T, E: ParseError<T>, const STREAMING: bool>(
input: T
) -> IResult<T, i32, E>where
T: InputIter + Slice<RangeFrom<usize>> + InputLength + InputTake + Clone + InputIsStreaming<STREAMING>,
T: IntoOutput,
<T as InputIter>::Item: AsChar,
T: for<'a> Compare<&'a [u8]>,
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.