Windows.Storage.Compression namespace

Applies to Windows and Windows Phone

Provides a unified interface to the compression features included in Windows that frees developers from responsibility for managing block sizes, compression parameters, and other details that the native compression API requires.

You can download a JavaScript sample that reads data from a file and writes compressed data to a new file and reads compressed data and writes decompressed data to a new file. To download this sample, see Compression sample.

Members

The Windows.Storage.Compression namespace has these types of members:

Classes

The Windows.Storage.Compression namespace has these classes.

ClassDescription
Compressor A compressor takes information written to a stream and compresses it using a compression algorithm.
Decompressor A decompressor takes a stream compressed by a compressor and decompresses it.

 

Enumerations

The Windows.Storage.Compression namespace has these enumerations.

EnumerationDescription
CompressAlgorithm Identifies a compression algorithm to use when creating an instance of a compressor.

 

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Storage.Compression
Windows::Storage::Compression [C++]

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft