System::UriShim::EscapeAsciiChar 方法

UriShim::EscapeAsciiChar method

将字符转换为转义的十六进制形式。

static void System::UriShim::EscapeAsciiChar(char16_t ch, const System::ArrayPtr<char16_t> &to, int32_t &pos)
参数类型描述
chchar16_t要转换的字符。
toconst System::ArrayPtr<char16_t>&输出缓冲区。
posint32_t&输出缓冲区中的位置;在编码后会向前移动。

另见