presto-orc/src/main/java/io/prestosql/orc/stream/DoubleOutputStream.java/DoubleOutputStream/getBufferedBytes
class DoubleOutputStream:    @Override
    public long getBufferedBytes()
    {
        return buffer.estimateOutputDataSize();
    }