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)); }
public static TestTableWithOriginalOrdering GetRootAsTestTableWithOriginalOrdering(ByteBuffer _bb, TestTableWithOriginalOrdering obj) { return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }