Пример #1
0
 public static Offset <LongTriple> CreateLongTriple(FlatBufferBuilder builder,
                                                    long first  = 0,
                                                    long second = 0,
                                                    long third  = 0)
 {
     builder.StartObject(3);
     LongTriple.AddThird(builder, third);
     LongTriple.AddSecond(builder, second);
     LongTriple.AddFirst(builder, first);
     return(LongTriple.EndLongTriple(builder));
 }
Пример #2
0
 public static LongTriple GetRootAsLongTriple(ByteBuffer _bb, LongTriple obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }