Constructor
Synopsis
Declared in header </boost/url/decode_view.hpp#L209[boost/url/decode_view.hpp,window=blank_]>
decode_view(
pct_string_view s,
encoding_opts opt = = {}) noexcept;
Description
This constructs a view from the character buffer s
, which must remain valid and
unmodified until the view is no longer
accessed.
Example
decode_view ds( "Program%20Files" );
Postconditions
this->encoded() == s
Complexity
Linear in s.size()
.
Exception Safety
Exceptions thrown on invalid input.
Return Value
-
void
Parameters
Name | Type |
---|---|
s |
|
opt |
|