Skip to main content

upper_nibble

Function upper_nibble 

pub const fn upper_nibble(b: u8) -> Option<u8>
Expand description

Uppercase ASCII hex digit to 0..=15.

Decimal digits and A through F are accepted; lowercase is rejected.