Function parseHexDigit

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

Prototype

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

Authors

Vadim Lopatin, coolreader.org@gmail.com

Copyright

Vadim Lopatin, 2014

License

Boost License 1.0