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