Пример #1
0
 public static Offset <TestAppend> CreateTestAppend(FlatBufferBuilder builder,
                                                    int test_num  = 0,
                                                    int test_num2 = 0)
 {
     builder.StartObject(2);
     TestAppend.AddTestNum2(builder, test_num2);
     TestAppend.AddTestNum(builder, test_num);
     return(TestAppend.EndTestAppend(builder));
 }
Пример #2
0
 public static TestAppend GetRootAsTestAppend(ByteBuffer _bb, TestAppend obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }
Пример #3
0
 public TestAppend GetTestAppend(TestAppend obj)
 {
     int o = __offset(16); return(o != 0 ? obj.__init(__indirect(o + bb_pos), bb) : null);
 }