Function lexical_util::digit::char_to_valid_digit_const
source ยท pub const fn char_to_valid_digit_const(c: u8, radix: u32) -> u32
Expand description
Unchecked, highly optimized algorithm to convert a char to a digit. This only works if the input character is known to be a valid digit.