Skip to main content

n_to_m_digits_padded

Function n_to_m_digits_padded 

Source
pub(crate) fn n_to_m_digits_padded<const N: u8, const M: 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 between n and m digits, returning the numerical value.