System::Web::HttpUtility::UrlEncodeToBytes method

HttpUtility::UrlEncodeToBytes(const String&) method

Encodes URI fragment.

static System::ArrayPtr<uint8_t> System::Web::HttpUtility::UrlEncodeToBytes(const String &str)
ParameterTypeDescription
strconst String&URI fragment to encode.

ReturnValue

Encoded URI fragment.

See Also

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

Encodes URI fragment.

static System::ArrayPtr<uint8_t> System::Web::HttpUtility::UrlEncodeToBytes(const String &str, const System::SharedPtr<Text::Encoding> &e)
ParameterTypeDescription
strconst String&URI fragment to encode.
econst System::SharedPtr<Text::Encoding>&Encoding to use.

ReturnValue

Encoded URI fragment.

See Also

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

Encodes URI fragment.

static System::ArrayPtr<uint8_t> System::Web::HttpUtility::UrlEncodeToBytes(const System::ArrayPtr<uint8_t> &bytes)
ParameterTypeDescription
bytesconst System::ArrayPtr<uint8_t>&URI fragment to encode.

ReturnValue

Encoded URI fragment.

See Also

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

Encodes URI fragment.

static System::ArrayPtr<uint8_t> System::Web::HttpUtility::UrlEncodeToBytes(const System::ArrayPtr<uint8_t> &bytes, int32_t offset, int32_t count)
ParameterTypeDescription
bytesconst System::ArrayPtr<uint8_t>&URI fragment to encode.
offsetint32_tOffset in the given byte array.
countint32_tNumber of bytes to read from.

ReturnValue

Encoded URI fragment.

See Also