System::Web::HttpUtility::UrlDecodeToBytes 方法

HttpUtility::UrlDecodeToBytes(const String&) method

从字节字符串解码 URI 片段。

static System::ArrayPtr<uint8_t> System::Web::HttpUtility::UrlDecodeToBytes(const String &str)
参数类型描述
strconst String&已编码的 URI 片段。

ReturnValue

已解码的 URI 片段。

另见

HttpUtility::UrlDecodeToBytes(const String&, const System::SharedPtr<Text::Encoding>&) method

从字符串解码 URI 片段。

static System::ArrayPtr<uint8_t> System::Web::HttpUtility::UrlDecodeToBytes(const String &str, const System::SharedPtr<Text::Encoding> &e)
参数类型描述
strconst String&已编码的 URI 片段。
econst System::SharedPtr<Text::Encoding>&要使用的编码。

ReturnValue

已解码的 URI 片段。

另见

HttpUtility::UrlDecodeToBytes(const System::ArrayPtr<uint8_t>&) method

从字节数组解码 URI 片段。

static System::ArrayPtr<uint8_t> System::Web::HttpUtility::UrlDecodeToBytes(const System::ArrayPtr<uint8_t> &bytes)
参数类型描述
字节const System::ArrayPtr<uint8_t>&已编码的 URI 片段。

ReturnValue

已解码的 URI 片段。

另见

HttpUtility::UrlDecodeToBytes(const System::ArrayPtr<uint8_t>&, int32_t, int32_t) method

从字节数组解码 URI 片段。

static System::ArrayPtr<uint8_t> System::Web::HttpUtility::UrlDecodeToBytes(const System::ArrayPtr<uint8_t> &bytes, int32_t offset, int32_t count)
参数类型描述
字节const System::ArrayPtr<uint8_t>&已编码的 URI 片段。
offsetint32_t给定字节数组中的偏移量。
countint32_t要读取的字节数。

ReturnValue

已解码的 URI 片段。

另见