presto-rcfile/src/main/java/io/prestosql/rcfile/RcFileWriter.java/ColumnEncoder/getBufferedSize
class ColumnEncoder:        public int getBufferedSize()
        {
            return lengthOutput.size() + output.size();
        }