flatbuffers/tests/union_vector
Wouter van Oortmerssen f575b02fda Make string/vector field serialization order not depend on optimizer.
Multiple calls of e.g. CreateString inside a call to a CreateTable
could cause those strings to end up in different locations in the
wire format, since order or argument evaluation is undefined.

This is allowed by the FlatBuffer format, but it is not helpful,
especially when debugging the contents of binaries, or comparing
against a "golden" binary for tests etc.

Now making sure that all the CreateTableDirect calls first serialize
sub strings/vectors before calling CreateTable.

Also made similar changes to the serialization of "binary schemas".

Change-Id: I5747c4038b37a0d400aca2bc592bec751cf5c172
2018-11-16 17:08:35 -08:00
..
Attacker.cs Vector of unions support for java and c# () 2018-05-14 11:12:24 -07:00
Attacker.java Vector of unions support for java and c# () 2018-05-14 11:12:24 -07:00
Attacker.php Added missing generated code. 2017-08-11 09:28:06 -07:00
BookReader.cs Vector of unions support for java and c# () 2018-05-14 11:12:24 -07:00
BookReader.java Vector of unions support for java and c# () 2018-05-14 11:12:24 -07:00
BookReader.php Added missing generated code. 2017-08-11 09:28:06 -07:00
Character.cs Vector of unions support for java and c# () 2018-05-14 11:12:24 -07:00
Character.java Vector of unions support for java and c# () 2018-05-14 11:12:24 -07:00
Character.php Added missing generated code. 2017-08-11 09:28:06 -07:00
Movie.cs C# support for directly reading and writting to memory other than byte[]. For example, ByteBuffer can be initialized with a custom allocator which uses shared memory / memory mapped files. () 2018-08-23 10:05:31 -07:00
Movie.java Vector of unions support for java and c# () 2018-05-14 11:12:24 -07:00
Movie.php Added missing generated code. 2017-08-11 09:28:06 -07:00
Rapunzel.cs Vector of unions support for java and c# () 2018-05-14 11:12:24 -07:00
Rapunzel.java Vector of unions support for java and c# () 2018-05-14 11:12:24 -07:00
Rapunzel.php Added missing generated code. 2017-08-11 09:28:06 -07:00
union_vector.fbs Added support for structs and strings in unions. 2017-04-12 17:47:47 -07:00
union_vector_generated.h Make string/vector field serialization order not depend on optimizer. 2018-11-16 17:08:35 -08:00
union_vector_generated.js In Javascript, generate bidirectional mappings for enums, between Name: Value and between Value: Name. () 2018-10-04 10:37:22 -07:00
union_vector_generated.ts Convenient createX methods for TS () 2018-11-16 09:17:54 -08:00