Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

Gzip Class

Namespace: Rebex.IO.Compression
Assembly: Rebex.Zip.dll (version 7.0.9119)

Class for GZIP compression and decompression. It is a high level API on top of GzipCompressionStream and GzipDecompressionStream.

Syntax
public class Gzip
Inheritance
Object
Gzip
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()

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 set into a GZIP archive. New GZIP file is created (existing GZIP file is overwritten).

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.

In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies