moddef-cpp
Idiomatic C++ runtime for ModDef
Loading...
Searching...
No Matches
document.hpp File Reference

A binary .moddef document (spec §4, §27), parsed in place. More...

#include <cstddef>
#include <cstdint>
#include <span>
#include <string_view>
#include <utility>
#include <vector>
#include "moddef/error.hpp"
#include "moddef/str.hpp"
#include "moddef/doc.h"

Go to the source code of this file.

Classes

class  moddef::Document
 A parsed ModDef document. More...
 

Namespaces

namespace  moddef
 

Detailed Description

A binary .moddef document (spec §4, §27), parsed in place.

moddef::Document is a zero-copy view over bytes you own — memory-mapped flash, a firmware array, or a buffer this class loads for you. YAML/JSON are host-side only; convert with any other ModDef implementation or the CLI.