예제 #1
0
 public static Offset <TestTableWithOriginalOrdering> CreateTestTableWithOriginalOrdering(FlatBufferBuilder builder,
                                                                                          int IntProp     = 0,
                                                                                          byte ByteProp   = 0,
                                                                                          short ShortProp = 0)
 {
     builder.StartObject(3);
     TestTableWithOriginalOrdering.AddShortProp(builder, ShortProp);
     TestTableWithOriginalOrdering.AddByteProp(builder, ByteProp);
     TestTableWithOriginalOrdering.AddIntProp(builder, IntProp);
     return(TestTableWithOriginalOrdering.EndTestTableWithOriginalOrdering(builder));
 }
예제 #2
0
 public static TestTableWithOriginalOrdering GetRootAsTestTableWithOriginalOrdering(ByteBuffer _bb, TestTableWithOriginalOrdering obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }