class NeovimBufferRxWrapper implements NeovimBufferRxApi {

    @Override
    public Single<Integer> getOffset(int index) {
        return Single.fromFuture(neovimBufferApi.getOffset(index));
    }

    public  NeovimBufferRxWrapper(NeovimBufferApi neovimBufferApi);

}