Click or drag to resize
Cimbalino ToolkitZlibStream Constructor (Stream, CompressionLevel, Boolean)
Initializes a new instance of the ZlibStream class by using the specified stream and compression level, and optionally leaves the stream open.

Namespace: Cimbalino.Toolkit.Compression
Assembly: Cimbalino.Toolkit.Core (in Cimbalino.Toolkit.Core.dll) Version: 2.2.1.0 (2.2.1.0)
Syntax
C#
public ZlibStream(
	Stream stream,
	CompressionLevel compressionLevel,
	bool leaveOpen
)

Parameters

stream
Type: System.IOStream
The stream to compress or decompress.
compressionLevel
Type: Cimbalino.Toolkit.CompressionCompressionLevel
One of the enumeration values that indicates whether to emphasize speed or compression efficiency when compressing the stream.
leaveOpen
Type: SystemBoolean
true to leave the stream open after disposing the ZlibStream object; otherwise, false.
Version Information

Portable

Supported in: 4.5

Windows

Supported in: 10.0, 8.1

Windows Phone

Supported in: 8.1

Windows Phone Silverlight

Supported in: 8.1, 8.0
See Also