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)); }
public TestTable1 GetTableListProp(TestTable1 obj, int j) { int o = __offset(6); return(o != 0 ? obj.__init(__indirect(__vector(o) + j * 4), bb) : null); }
public TestTable1 GetTableProp(TestTable1 obj) { int o = __offset(4); return(o != 0 ? obj.__init(__indirect(o + bb_pos), bb) : null); }
public static TestTable1 GetRootAsTestTable1(ByteBuffer _bb, TestTable1 obj) { return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }