Creates a new instance of CompressionStream class.

Namespace:  Rebex.IO.Compression.Streams
Assembly:  Rebex.Zip (in Rebex.Zip.dll)

Syntax

Visual Basic
Public Sub New ( _
	inner As Stream, _
	mode As OpenMode, _
	format As CompressionFormat, _
	method As CompressionMethod _
)
C#
public CompressionStream(
	Stream inner,
	OpenMode mode,
	CompressionFormat format,
	CompressionMethod method
)

Parameters

inner
Type: System.IO..::..Stream
Underlying stream that contains decompressed data or to which compressed data is written.
mode
Type: Rebex.IO.Compression.Streams..::..OpenMode
Whether data will be read from or written to the underlying stream.
format
Type: Rebex.IO.Compression.Streams..::..CompressionFormat
Format of the compressed data.
method
Type: Rebex.IO.Compression..::..CompressionMethod
Compression method of the particular data format.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also