Constructor.
pct_encoded_view( string_view s, pct_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.
s
contains a valid percent-encoded
string.
Linear in s.size()
.
Name |
Description |
---|---|
|
The string |
|
A set of options which may be applied to the decoding algorithm. If this argument is left out, default settings will be used. |
Type |
Thrown On |
---|---|
|
The percent-encoded is invalid |