decode overloads
<boost/url/decode.hpp>Return a percent-decoded string
template<string_token::StringToken StringToken = string_token::return_string>
system::result<StringToken::result_type>
decode(
core::string_view s,
encoding_opts opt = {},
StringToken&& token = {}) noexcept;
» more...
Apply percent-decoding to an arbitrary string
system::result<std::size_t>
decode(
char* dest,
std::size_t size,
core::string_view s,
encoding_opts opt = {}) noexcept;
» more...
| Name | Description |
|---|---|
| s | The string to decode. |
| opt | The decoding options. If omitted, the default options are used. |
| token | A string token. |
| dest | The destination buffer to write to. |
| size | The number of writable characters pointed to by dest. If this is less than the decoded size, the result is truncated. |