folly::hex_decode_digit_table

hex_decode_digit_table

Synopsis

Declared in <folly/codec/hex.h>

constexpr
uint8_t
hex_decode_digit_table(char const h);

Description

For characters which are in the lower or upper hex alphabets, returns the decoded value. For other characters, returns a value with the high bit set.

Return Value

The decoded value of h.

Parameters

NameDescription
hThe character to decode.