Skip to main content

Module compile

Module compile 

Source
Expand description

Compile/decompile API for .faf ↔ .fafb conversion — FAFb v2, closed canonical.

The writer emits exactly the canonical chunk set (see canon), in canonical order. Non-canonical top-level YAML keys are folded into the context chunk — nothing is lost, and the string table stays fixed. Identical content therefore produces identical bytes regardless of input key order: the brick is content-addressable.

Structs§

CompileOptions
Options for compilation
DecompiledFafb
A decompiled .fafb file with header, section table, string table, and raw data

Functions§

compile
Compile a .faf YAML source string into .fafb v2 binary bytes.
decompile
Decompile .fafb v2 binary bytes into a structured representation.