forked from BigfootDev/flatbuffers
This is because they are incompatible with C++ and possibly other languages that make them minimum size 1 (to make sure multiple such objects don't reside at the same address). Forcing them to size 1 was also not practical, as that is requires updating the logic of a lot of implementations and thus possibly backwards incompatible. More here: https://github.com/google/flatbuffers/issues/4122 Change-Id: I2bfdc8597b7cfd2235bb4074bb2ae06f81f8e57d
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