Méthode System::Web::HttpUtility::UrlEncodeToBytes

HttpUtility::UrlEncodeToBytes(const String&) method

Encode le fragment URI.

static System::ArrayPtr<uint8_t> System::Web::HttpUtility::UrlEncodeToBytes(const String &str)
ParamètreTypeDescription
strconst String&Fragment URI à encoder.

ReturnValue

Fragment URI encodé.

Voir aussi

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

Encode le fragment URI.

static System::ArrayPtr<uint8_t> System::Web::HttpUtility::UrlEncodeToBytes(const String &str, const System::SharedPtr<Text::Encoding> &e)
ParamètreTypeDescription
strconst String&Fragment URI à encoder.
econst System::SharedPtr<Text::Encoding>&Encodage à utiliser.

ReturnValue

Fragment URI encodé.

Voir aussi

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

Encode le fragment URI.

static System::ArrayPtr<uint8_t> System::Web::HttpUtility::UrlEncodeToBytes(const System::ArrayPtr<uint8_t> &bytes)
ParamètreTypeDescription
octetsconst System::ArrayPtr<uint8_t>&Fragment URI à encoder.

ReturnValue

Fragment URI encodé.

Voir aussi

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

Encode le fragment URI.

static System::ArrayPtr<uint8_t> System::Web::HttpUtility::UrlEncodeToBytes(const System::ArrayPtr<uint8_t> &bytes, int32_t offset, int32_t count)
ParamètreTypeDescription
octetsconst System::ArrayPtr<uint8_t>&Fragment URI à encoder.
décalageint32_tDécalage dans le tableau d’octets fourni.
countint32_tNombre d’octets à lire.

ReturnValue

Fragment URI encodé.

Voir aussi