Home | Libraries | People | FAQ | More |
Return the decimal value of a hex character.
Defined in header <boost/url/grammar/hexdig_chars.hpp>
signed char hexdig_value( char ch);
This function returns the decimal value of a hexadecimal character, or -1 if the argument is not a valid hexadecimal digit.
HEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F" / "a" / "b" / "c" / "d" / "e" / "f"
Name |
Description |
---|---|
|
The character to check |
The decimal value or -1
Convenience header <boost/url/grammar.hpp>