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.
Loading...
Searching...
No Matches
Base64.h File Reference
#include <span>
#include <string>
#include <vector>
#include "donner/base/ParseResult.h"
Include dependency graph for Base64.h:

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.

Functions

ParseResult< std::vector< uint8_t > > donner::DecodeBase64Data (std::string_view base64String)
 Decode a base64-encoded string into a byte array.
std::string donner::EncodeBase64Data (std::span< const uint8_t > data)
 Encode a byte array into a base64-encoded string.