예제 #1
0
 public static Offset <IntTriple> CreateIntTriple(FlatBufferBuilder builder,
                                                  int first  = 0,
                                                  int second = 0,
                                                  int third  = 0)
 {
     builder.StartObject(3);
     IntTriple.AddThird(builder, third);
     IntTriple.AddSecond(builder, second);
     IntTriple.AddFirst(builder, first);
     return(IntTriple.EndIntTriple(builder));
 }
예제 #2
0
 public static IntTriple GetRootAsIntTriple(ByteBuffer _bb, IntTriple obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }