class BufferStreamApi extends BaseStreamApi implements NeovimBufferApi {

    @Override
    public CompletableFuture<Boolean> attach(boolean loadFullBufferOnStart, Map opts) {
        return sendWithResponseOfType(
                prepareMessage(ATTACH_BUFFER)
                        .addArgument(loadFullBufferOnStart)
                        .addArgument(opts),
                Boolean.class
        );
    }

    public  BufferStreamApi(ReactiveRpcStreamer reactiveRpcStreamer,
                           Buffer model);

}