presto-rcfile/src/main/java/io/prestosql/rcfile/RcFileCompressor.java/CompressedSliceOutput/getCompressedSize
class CompressedSliceOutput:        public int getCompressedSize()
        {
            checkState(closed, "Stream has not been closed");
            checkState(!destroyed, "Stream has been destroyed");
            return bufferedOutput.size();
        }