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