UrlEncodeToBytes()
Contents
[
Hide
]HttpUtility::UrlEncodeToBytes(const String&) method
Encodes URI fragment.
static System::ArrayPtr<uint8_t> System::Web::HttpUtility::UrlEncodeToBytes(const String &str)
Arguments
Parameter | Type | Description |
---|---|---|
str | const String& | URI fragment to encode. |
Return Value
Encoded URI fragment.
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)
Arguments
Parameter | Type | Description |
---|---|---|
str | const String& | URI fragment to encode. |
e | const System::SharedPtr<Text::Encoding>& | Encoding to use. |
Return Value
Encoded URI fragment.
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)
Arguments
Parameter | Type | Description |
---|---|---|
bytes | const System::ArrayPtr<uint8_t>& | URI fragment to encode. |
Return Value
Encoded URI fragment.
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)
Arguments
Parameter | Type | Description |
---|---|---|
bytes | const System::ArrayPtr<uint8_t>& | URI fragment to encode. |
offset | int32_t | Offset in the given byte array. |
count | int32_t | Number of bytes to read from. |
Return Value
Encoded URI fragment.
See Also
- Typedef ArrayPtr
- Typedef SharedPtr
- Class String
- Class HttpUtility
- Class Encoding
- Namespace System::Web
- Library Aspose.Slides