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.
| Class | Description |
|---|---|
| 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.
| Enumeration | Description |
|---|---|
| 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 |
|
Namespace |
|
|
Metadata |
|
Build date: 12/4/2012