Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
WasmBridgeUtils.h File Reference
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <cstring>
#include <optional>
Include dependency graph for WasmBridgeUtils.h:

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.
namespace  donner::svg
 Donner SVG library, which can load, manipulate and render SVG files.

Functions

bool donner::svg::wasm::IsValidInputRange (const char *data, size_t size)
 Return whether a caller-provided byte range is contained in WebAssembly linear memory.
std::optional< size_t > donner::svg::wasm::BoundedCStringLength (const char *data, size_t maximumInputSize)
 Find a terminator without scanning beyond linear memory or the configured source limit.