Function parseHexDigit

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

uint parseHexDigit(T)(
  T ch
) pure nothrow;