Esempio n. 1
0
 public static Offset <Boxes> CreateBoxes(FlatBufferBuilder builder,
                                          VectorOffset categoriesOffset = default(VectorOffset),
                                          StringOffset nameOffset       = default(StringOffset))
 {
     builder.StartObject(2);
     Boxes.AddName(builder, nameOffset);
     Boxes.AddCategories(builder, categoriesOffset);
     return(Boxes.EndBoxes(builder));
 }
Esempio n. 2
0
 public Boxes GetBoxes(Boxes obj, int j)
 {
     int o = __offset(6); return(o != 0 ? obj.__init(__indirect(__vector(o) + j * 4), bb) : null);
 }
Esempio n. 3
0
 public static Boxes GetRootAsBoxes(ByteBuffer _bb, Boxes obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }