class QuantifiableStdout

A delegator that allows the size method to be used on the STDOUT object.

The size of the content written to STDOUT cannot be measured normally. This class wraps the STDOUT object so the cumulative size of the content passed to the write method (while wrapped in this decorator) can be measured.