GZipStream Constructor (String, CompressLevel)

DotZLib

DotZLib .Net wrapper for ZLib1.dll

GZipStream Constructor (String, CompressLevel)

Creates a new file as a writeable GZipStream

public GZipStream(
   string fileName,
   CompressLevel level
);

Parameters

fileName
The name of the compressed file to create
level
The compression level to use when adding data

Exceptions

Exception Type Condition
ZLibException If an error occurred in the internal zlib function

See Also

GZipStream Class | DotZLib Namespace | GZipStream Constructor Overload List