示例#1
0
 public static Offset <LongPair> CreateLongPair(FlatBufferBuilder builder,
                                                long first  = 0,
                                                long second = 0)
 {
     builder.StartObject(2);
     LongPair.AddSecond(builder, second);
     LongPair.AddFirst(builder, first);
     return(LongPair.EndLongPair(builder));
 }
示例#2
0
 public static LongPair GetRootAsLongPair(ByteBuffer _bb, LongPair obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }