Expand description
Generic Askama view-model and emitter for flat 4-byte-aligned (u32-word) operation-stream
codecs (nativeview_codec::FlatOpStreamDesc).
One generic template per host language (c, swift, java, dart, ts) renders any
validated FlatOpStreamDesc into a zero-allocation streaming validator + decoder next to the
static packages/core/host-* runtimes. nativeview-codegen stays module-free: callers (such as
nativeview-cli) pass &nativeview_canvas::DRAW_LIST_CODEC_DESC or any other stream descriptor.
Functionsยง
- generate_
flat_ op_ codec_ files - Generates C++, Swift, Java, Dart, and TypeScript flat word-op stream decoders for
desc(with Swift, Java, and Dart emitted intopackages/core/host-{swift,java,dart}for standalone codegen tests). - generate_
flat_ op_ codec_ files_ for_ module - Generates flat word-op stream decoders for module
cap_dir, placing: