boost::urls::encoded_size
Return the buffer size needed for percent-encoding
Synopsis
Declared in header <boost/url/encode.hpp>
template<class CharSet>
std::size_t
encoded_size(
core::string_view s,
CharSet const& unreserved,
encoding_opts opt = = {}) noexcept;
Description
Parameters
Name | Description |
---|---|
s |
The string to measure. |
unreserved |
The set of characters that is not percent-encoded. |
opt |
The options for encoding. If this parameter is omitted, the default options are be used. |