Exemple #1
0
 public static Offset <TestTable1> CreateTestTable1(FlatBufferBuilder builder,
                                                    int IntProp     = 0,
                                                    byte ByteProp   = 0,
                                                    short ShortProp = 0)
 {
     builder.StartObject(3);
     TestTable1.AddIntProp(builder, IntProp);
     TestTable1.AddShortProp(builder, ShortProp);
     TestTable1.AddByteProp(builder, ByteProp);
     return(TestTable1.EndTestTable1(builder));
 }
Exemple #2
0
 public TestTable1 GetTableListProp(TestTable1 obj, int j)
 {
     int o = __offset(6); return(o != 0 ? obj.__init(__indirect(__vector(o) + j * 4), bb) : null);
 }
Exemple #3
0
 public TestTable1 GetTableProp(TestTable1 obj)
 {
     int o = __offset(4); return(o != 0 ? obj.__init(__indirect(o + bb_pos), bb) : null);
 }
Exemple #4
0
 public static TestTable1 GetRootAsTestTable1(ByteBuffer _bb, TestTable1 obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }