Skip to main content

hex_value

Function hex_value 

Source
pub fn hex_value(c: u8) -> u8
Expand description

Converts a hexadecimal digit byte to its numeric value (0–15). Caller must ensure c is a valid hex digit.