docs: public void compress(ByteBuffer src, ByteBuffer dest) {
      final int compressedLength = compress(src, src.position(), src.remaining(), dest, dest.position(), dest.remaining());
      src.position(src.limit());
      dest.position(dest.position() + compressedLength);
    }