Copyright Adam Ward 10 July 2004:

I am thinking about developing a "RunLengthStream", which derives from the normal stream class.

It will basically accept any binary data as input and use run length encoding to compress it into a smaller stream for transfer through systems that would normally represent a data bottleneck.

Has this already been done (would I be wasting my time coding this)?

Is it even a practical possibiliy?