hi stackoverflow community :)
i want create a flatbuffers object in java which i can serialize to a byte array, and later deserialize back in the java object. i work the first time with flatbuffers and i can't initialised a java object. my way step by step:
Here is my code for step 4:
FlatBufferBuilder fbb = new FlatBufferBuilder(1);
int str = fbb.createString("Dummy");
Monster.startPerson(fbb);
Monster.addName(fbb, str);
int p = Person.endPerson(fbb);
Maybe someone can post a simple example to creating a flatbuffers object, and how to serialize and deserialize to and from bytearray?
Hope for an answer and best regards,
Paul
a answer on the google group page: https://groups.google.com/forum/#!topic/flatbuffers/FZBDMd9m0hE