UrlDecoder.hex2

Creates a character c with the value specified by the 2-digit ASCII hexadecimal number whose digits are hi and lo. For example, if hi = 'E' or 'e' and lo = '9', c will be 0xE9.

class UrlDecoder
static
bool
hex2
(
char hi
,
char lo
,
out char c
)

Parameters

hi char

most significant hexadecimal digit (ASCII)

lo char

least significant hexadecimal digit (ASCII)

c char

output character

Return Value

Type: bool

true on success or false if hi or lo or both are not a hexadecimal digit.

Meta