コード例 #1
0
 public static Offset <TestTableWithTable> CreateTestTableWithTable(FlatBufferBuilder builder,
                                                                    Offset <TestTable1> TablePropOffset = default(Offset <TestTable1>),
                                                                    int IntProp = 0)
 {
     builder.StartObject(2);
     TestTableWithTable.AddIntProp(builder, IntProp);
     TestTableWithTable.AddTableProp(builder, TablePropOffset);
     return(TestTableWithTable.EndTestTableWithTable(builder));
 }
コード例 #2
0
 public static TestTableWithTable GetRootAsTestTableWithTable(ByteBuffer _bb, TestTableWithTable obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }