4e3a66c141
* dart test scripts - generate with `--gen-object-api` * Dart object API, pack and unpack methods (WIP) * Dart flatc - extract Builder code to separate functions to reuse it in Pack() * Dart flatc - use builder field-building implementation in pack() * Dart flatc - add pack() as an intance method of the "T" class * Dart object API - make inner fields unpacked as well * Dart object API - use pack() when collecting field offsets * Dart object API - use packOnce() for fields that are structs or vectors of structs * Dart object API - remove obsolete union support TODO * Dart object API - minor review changes, test and fixes * Dart object API - revert packOnce() - not supported by other object API implementations * Dart object API - update docs * update dart generated code in tests/ to fix CI failure on ./scripts/check-generated-code.sh * Dart flatc - fix compilation for old MSVC and c++0x |
||
---|---|---|
.. | ||
example | ||
lib | ||
test | ||
CHANGELOG.md | ||
LICENSE | ||
README.md | ||
publish.sh | ||
pubspec.yaml |
README.md
FlatBuffers for Dart
This package is used to read and write FlatBuffer files in Dart.
Most consumers will want to use the flatc
compiler to generate Dart code from a FlatBuffers IDL schema. For example, the
monster_my_game.sample_generated.dart
was generated with flatc
from
monster.fbs
in the example folder. The generated classes can be used to read
or write binary files that are interoperable with other languages and platforms
supported by FlatBuffers, as illustrated in the example.dart
in the
examples folder.
Additional documentation and examples are available at the FlatBuffers site