Пример #1
0
 public static Offset <Redeem> CreateRedeem(FlatBufferBuilder builder,
                                            StringOffset tOffset = default(StringOffset),
                                            StringOffset nOffset = default(StringOffset),
                                            int q = 0)
 {
     builder.StartObject(3);
     Redeem.AddQ(builder, q);
     Redeem.AddN(builder, nOffset);
     Redeem.AddT(builder, tOffset);
     return(Redeem.EndRedeem(builder));
 }
Пример #2
0
 public static Redeem GetRootAsRedeem(ByteBuffer _bb, Redeem obj)
 {
     return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }