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); }
public static EjectToken GetRootAsEjectToken(ByteBuffer _bb, EjectToken obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }