CompressAlgorithm enumeration

Applies to Windows and Windows Phone

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

Syntax


var value = Windows.Storage.Compression.CompressAlgorithm.invalidAlgorithm;

Attributes

[Version(0x06020000)]

Members

The CompressAlgorithm enumeration has these members.

MemberValueDescription
InvalidAlgorithm | invalidAlgorithm0

This value represents an invalid compression algorithm. It is useful primarily for error checking.

NullAlgorithm | nullAlgorithm1

This value represents an algorithm that passes data through with no compression. It is useful primarily for testing.

Mszip | mszip2

The compressor will use the MSZIP compression algorithm.

Xpress | xpress3

The compressor will use the XPRESS compression algorithm.

XpressHuff | xpressHuff4

The compressor will use the XPRESS compression algorithm with Huffman encoding.

Lzms | lzms5

The compressor will use the LZMS compression algorithm.

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