Function nibble_to_hexchar

Source
pub fn nibble_to_hexchar(b: &u8) -> Result<char, HexStringError>
Expand description

Given a nibble (a u8 value in the range 0-15), convert it to its corresponding character representation.

This will raise InvalidNibble if the value provided is outside the range 0-15.