Skip to main content

exactly_n_digits_padded

Function exactly_n_digits_padded 

Source
pub(crate) fn exactly_n_digits_padded<const N: u8, T>(
    padding: Padding,
) -> impl for<'a> Fn(&'a [u8]) -> Option<ParsedItem<'a, T>>
where T: Integer,
Available on crate feature parsing only.
Expand description

Consume exactly n digits, returning the numerical value.