示例#1
0
 public static Offset <EjectToken> CreateEjectToken(FlatBufferBuilder builder,
                                                    uint amount = 0)
 {
     builder.StartObject(1);
     EjectToken.AddAmount(builder, amount);
     return(EjectToken.EndEjectToken(builder));
 }
示例#2
0
 public static EjectToken GetRootAsEjectToken(ByteBuffer _bb, EjectToken obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }