Home | Libraries | People | FAQ | More |
Constructor.
decode_view( string_view s, decode_opts opt = {});
This constructs a view from the character buffer s
,
which must remain valid and unmodified until the view is no longer accessed.
decode_view ds( "Program%20Files" );
this->encoded() == s
Linear in s.size()
.
Exceptions thrown on invalid input.
Type |
Thrown On |
---|---|
|
The string contains an invalid percent encoding. |
Name |
Description |
---|---|
|
The encoded string. |
|
The options for decoding. If this parameter is omitted, the default options will be used. |