flatbuffers/dart
Wouter van Oortmerssen 160e8f2fdc Disallowed 0 byte structs.
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
2018-10-29 17:40:19 -07:00
..
example Add [Dart] support (#4676) 2018-05-18 11:06:15 -07:00
lib Ensure strings are null terminated when written from Dart (#4862) 2018-08-09 09:50:54 -07:00
test Disallowed 0 byte structs. 2018-10-29 17:40:19 -07:00
CHANGELOG.md Ensure strings are null terminated when written from Dart (#4862) 2018-08-09 09:50:54 -07:00
LICENSE Add [Dart] support (#4676) 2018-05-18 11:06:15 -07:00
README.md Add [Dart] support (#4676) 2018-05-18 11:06:15 -07:00
publish.sh Add [Dart] support (#4676) 2018-05-18 11:06:15 -07:00
pubspec.yaml Bumped version to 1.10.1 for all languages. 2018-10-03 12:48:47 -07:00

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