xtd 0.2.0
Loading...
Searching...
No Matches

◆ hex_unescape()

static char xtd::uri::hex_unescape ( const xtd::ustring pattern,
size_t &  index 
)
static

Converts a specified hexadecimal representation of a character to the character.

Parameters
patternThe hexadecimal representation of a character.
indexThe location in pattern where the hexadecimal representation of a character begins.
Returns
Char The character represented by the hexadecimal encoding at position index. If the character at index is not hexadecimal encoded, the character at index is returned. The value of index is incremented to point to the character following the one returned.
Exceptions
ArgumentOutOfRangeExceptionindex is less than 0 or greater than or equal to the number of characters in pattern.