pub const fn char_to_valid_digit_const(c: u8, radix: u32) -> u32
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.