presto-orc/src/main/java/io/prestosql/orc/stream/LongOutputStreamV1.java/LongOutputStreamV1/getBufferedBytes
class LongOutputStreamV1:    @Override
    public long getBufferedBytes()
    {
        return buffer.estimateOutputDataSize() + (Long.BYTES * size);
    }