pub fn hex_value(c: u8) -> u8
Converts a hexadecimal digit byte to its numeric value (0–15). Caller must ensure c is a valid hex digit.
c