Unicode.unicharXdigitValue

Determines the numeric value of a character as a hexidecimal digit.

struct Unicode
static
int
unicharXdigitValue
(
dchar c
)

Parameters

c dchar

a Unicode character

Return Value

Type: int

If @c is a hex digit (according to g_unichar_isxdigit()), its numeric value. Otherwise, -1.

Meta