Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AtlGetHexValue

 

Call this function to get the numeric value of a hexadecimal digit.


      inline char AtlGetHexValue(
   char chIn 
) throw( );

chIn

The hexadecimal character '0'-'9', 'A'-'F', or 'a'-'f'.

The numeric value of the input character interpreted as a hexadecimal digit. For example, an input of '0' returns a value of 0 and an input of 'A' returns a value of 10. If the input character is not a hexadecimal digit, this function returns -1.

Requirements

Header: atlenc.h

Show: