Emits an Elixir module for a FlatBuffers table declaration.
The emitted module includes:
- a
defstructmatching the table's fields, decode/1anddecode_at/2returning the struct,encode/1returning a complete buffer,build/2for nested-table assembly inside an existing builder,- per-field zero-copy accessors.
Summary
Functions
@spec generate(Flatbuf.Schema.Table.t(), Flatbuf.Schema.t(), keyword()) :: {module(), String.t()}