Поделиться через


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.

Требования

Header: atlenc.h

См. также

Основные понятия

ATL Concepts

ATL Reference

ATL Functions Alphabetical Reference