Return the numeric value of a hexadecimal digit character.

Synopsis

Declared in <crypto/hex_base.h>

signed char
HexDigit(char c);

Return Value

The value 0‐15 for a valid digit, or ‐1 if c is not a hexadecimal digit.

Parameters

Name

Description

c

The hexadecimal digit character to decode.

Created with MrDocs