Memory
------------------------------------------------------------------------
Compress and expand memory streams.

The sample compresses a long string into a memory stream, then expands it.

This shows how the generic stream compression and decompression work 
with any type of stream, not just files.