parseHexDigit

Parse a single hex digit, given as a byte value (0..255), returning its value 0..15.