Gzip Class
Namespace: Rebex.IO.Compression
Assembly: Rebex.Zip.dll (version 7.0.9147)
Class for GZIP compression and decompression.
It is a high level API on top of Gzip
Syntax
public class Gzip
Inherited Members
Constructors
Properties
Name | Description |
---|---|
Compression |
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(File |
Compresses files defined by |
Compress(String, Traversal |
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. |