|
|
Donner SVG Editor & Engine
SVG-native editor and embeddable SVG2 + CSS3 engine in C++20, with GPU (WebGPU) and compact CPU renderers, built for correctness, security, and performance.
|
Parse a URL, which can be an external resource or a data URL. More...
#include "donner/base/parser/DataUrlParser.h"
Classes | |
| struct | Result |
| Result of parsing a data URL or external URL. More... | |
Static Public Member Functions | |
| static std::variant< Result, DataUrlParserError > | Parse (std::string_view uri) |
| Parse a URL, which can be an external resource or a data URL. | |
Parse a URL, which can be an external resource or a data URL.
A data URL will be parsed into the raw data it contains, while an external URL will be returned as a string.
|
static |
Parse a URL, which can be an external resource or a data URL.
| uri | The URL-encoded string to parse. |