Επεξεργασία

Κοινή χρήση μέσω


ZLibCompressionStrategy Enum

Definition

Defines the compression algorithms that can be used for DeflateStream, GZipStream, and ZLibStream.

public enum class ZLibCompressionStrategy
public enum ZLibCompressionStrategy
type ZLibCompressionStrategy = 
Public Enum ZLibCompressionStrategy
Inheritance
ZLibCompressionStrategy

Fields

Name Value Description
Default 0

Used for normal data.

Filtered 1

Used for data produced by a filter (or predictor). The effect of Filtered is to force more Huffman coding and less string matching; it's an intermediate between Default and HuffmanOnly.

HuffmanOnly 2

Used to force Huffman encoding only (no string match).

RunLengthEncoding 3

Used to limit match distances to one (run-length encoding). Gives better compression for PNG image data.

Fixed 4

Prevents the use of dynamic Huffman codes, allowing for a simpler decoder for special applications.

Applies to