encode
Apply percent-encoding to a string
Synopsis
template<class CharSet>
size_t
encode(
char* dest,
size_t size,
string_view s,
const CharSet& unreserved,
encoding_opts opt = = {});
Declared in file <include/boost/url/encode.hpp> on line 118
Defined in file <include/boost/url/impl/encode.hpp> on line 79
Description
This function applies percent-encoding to the string using the given options and character set. The destination buffer provided by the caller is used to store the result, which may be truncated if there is insufficient space.