nom::character::complete

Function u8

Source
pub fn u8<T, E: ParseError<T>>(input: T) -> IResult<T, u8, E>
where T: InputIter + Slice<RangeFrom<usize>> + InputLength, <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.