Esempio n. 1
0
 public static Offset <Config.TestObj1_> CreateTestObj1_(FlatBufferBuilder builder,
                                                         int a = 0,
                                                         VectorOffset bsOffset = default(VectorOffset),
                                                         bool v = false)
 {
     builder.StartTable(3);
     TestObj1_.AddBs(builder, bsOffset);
     TestObj1_.AddA(builder, a);
     TestObj1_.AddV(builder, v);
     return(TestObj1_.EndTestObj1_(builder));
 }
Esempio n. 2
0
 public static TestObj1_ GetRootAsTestObj1_(ByteBuffer _bb, TestObj1_ obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }