Function parseHexDigit

Decodes hex digit (0..9, a..f, A..F), returns uint.max if invalid

uint parseHexDigit(T) (
  T ch
);