This sample demonstrates how to:
Choose a sample file using the file picker (This file will be used to demonstrate compression/decompression).
Read the data from the chosen file, compress it using a compression algorithm of your choice, and write this compressed data to a new file in the temporary app data store.
Read the compressed data from a file and decompress it to yet another new file.
Compression Algorithms:
DEFAULT: No compression algorithms explicitly specified. Xpress is used by default.
XPRESS: Compression ratio is fair. Fastest compression and decompression speeds. Low memory requirement.
MSZIP: Compression ratio is high. Normal compression speed and fast decompression speed. Low memory requirement.