System::Web::HttpUtility::UrlEncodeToBytes-methode

HttpUtility::UrlEncodeToBytes(const String&) method

Codeert URI‑fragment.

static System::ArrayPtr<uint8_t> System::Web::HttpUtility::UrlEncodeToBytes(const String &str)
ParameterTypeBeschrijving
strconst String&URI-fragment om te coderen.

ReturnValue

Gecodeerd URI-fragment.

Zie ook

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

Codeert URI‑fragment.

static System::ArrayPtr<uint8_t> System::Web::HttpUtility::UrlEncodeToBytes(const String &str, const System::SharedPtr<Text::Encoding> &e)
ParameterTypeBeschrijving
strconst String&URI-fragment om te coderen.
econst System::SharedPtr<Text::Encoding>&Te gebruiken codering.

ReturnValue

Gecodeerd URI-fragment.

Zie ook

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

Codeert URI‑fragment.

static System::ArrayPtr<uint8_t> System::Web::HttpUtility::UrlEncodeToBytes(const System::ArrayPtr<uint8_t> &bytes)
ParameterTypeBeschrijving
bytesconst System::ArrayPtr<uint8_t>&URI-fragment om te coderen.

ReturnValue

Gecodeerd URI-fragment.

Zie ook

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

Codeert URI‑fragment.

static System::ArrayPtr<uint8_t> System::Web::HttpUtility::UrlEncodeToBytes(const System::ArrayPtr<uint8_t> &bytes, int32_t offset, int32_t count)
ParameterTypeBeschrijving
bytesconst System::ArrayPtr<uint8_t>&URI-fragment om te coderen.
offsetint32_tOffset in de opgegeven byte-array.
countint32_tAantal bytes om van te lezen.

ReturnValue

Gecodeerd URI-fragment.

Zie ook