public static void addFooStruct(FlatBufferBuilder builder, int fooStructOffset) {
   builder.addStruct(2, fooStructOffset, 0);
 }
 public static void addPos(FlatBufferBuilder builder, int posOffset) {
   builder.addStruct(0, posOffset, 0);
 }