Gzip Class
Namespace: Rebex.IO.Compression
Assembly: Rebex.Zip.dll (version 7.0.9083)
Class for GZIP compression and decompression. It is a high level API on top of GzipCompressionStream and GzipDecompressionStream.
Syntax
public class Gzip
Inherited Members
Constructors
Name | Description |
---|---|
Gzip() | Creates an instance of Gzip object. |
Properties
Name | Description |
---|---|
CompressionLevel | Gets or sets the compression level. Possible values are 0-9, where 0 means no compression (fastest) and 9 means best compression (slowest). 6 (medium compression and speed) is a default value. |
Methods
Name | Description |
---|---|
Compress(FileSet, String) | Compresses files defined by |
Compress(String, TraversalMode, String) | Compresses specified files or directories into a GZIP archive. New GZIP file is created (existing GZIP file is overwritten). |
Decompress(String, String) | Decompresses all files from the GZIP archive to the specified directory. Existing files in target directory will be overwritten. |