DOCUMENTATION

Generate Zig.
Own the bytes.

API contracts and examples from the Flatzz library. Explore native values, caller-owned storage, and borrowed views.

From library to website

This website generates both API references from Flatzz’s public Zig modules and discovers official examples from its example/ directory. zig build docs and zig build examples refresh these website sections.

Download the library guides: Copyable examples · WebAssembly compiler.

Serialization accepts an allocator or an aligned buffer sized with comptime flatzz.storage.capacityFor. Keep backing storage alive while using borrowed views.