Function flussab::text::ascii_digits_multi [−][src]
pub fn ascii_digits_multi<I>(
reader: &mut ByteReader<'_>,
offset: usize
) -> (Option<I>, usize) where
I: Zero + FromPrimitive + OverflowingAdd + OverflowingMul,
Optimized version of ascii_digits
.
This is equivalent to ascii_digits
but tries to process more bytes at once. Depending on the
size distribution of the parsed numbers this can be faster or slower than ascii_digits
, so
both variants are provided.