A raw component's byte range, excluding its delimiter.
More...
#include <URIParser.h>
|
| std::string_view | Get (std::string_view source) const |
| | View this component without decoding or normalization.
|
| |
A raw component's byte range, excluding its delimiter.
- Note
- Offsets hold no borrowed views and survive copying or moving the source storage. Reparse after changing its contents; ranges describe the original byte positions.
◆ Get()
| std::string_view URIParser::Range::Get |
( |
std::string_view | source | ) |
const |
|
inline |
View this component without decoding or normalization.
- Parameters
-
| source | The original input, or an identical copy, containing this entire range. |
- Returns
- A view valid until the supplied storage is changed or destroyed.
◆ length
| size_t URIParser::Range::length {0} |
◆ offset
| size_t URIParser::Range::offset {0} |
The documentation for this struct was generated from the following file: