presto-orc/src/main/java/io/prestosql/orc/writer/SliceDirectColumnWriter.java/SliceDirectColumnWriter/getBufferedBytes
class SliceDirectColumnWriter:    @Override
    public long getBufferedBytes()
    {
        return lengthStream.getBufferedBytes() + dataStream.getBufferedBytes() + presentStream.getBufferedBytes();
    }