util::ConstevalHexDigit

consteval version of HexDigit() without the lookup table.

Synopsis

Declared in <util/strencodings.h>

consteval
uint8_t
ConstevalHexDigit(char const c);

Return Value

The numeric value (0-15) of the hex digit.

Parameters

NameDescription
cThe lowercase hex digit character to convert.