|
RESTinio
|
Namespaces | |
| namespace | impl |
Functions | |
| RESTINIO_NODISCARD std::size_t | estimate_required_capacity (string_view_t what) |
| Calculate the size of a buffer to hold normalized value of a URI. | |
| void | normalize_to (string_view_t what, char *dest) |
| Perform normalization of URI value. | |
|
inline |
Calculate the size of a buffer to hold normalized value of a URI.
If what has some chars from unreserved set in percent-encoded form then this function returns the size of a buffer to hold normalized value of what. Otherwise the original size of what is returned.
Definition at line 605 of file percent_encoding.hpp.
|
inline |
Perform normalization of URI value.
Copies the content of what into dest and replaces the percent-encoded representation of chars from unreserved set into their normal values.
Definition at line 640 of file percent_encoding.hpp.