Creates a new instance of DecompressionStream 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 DecompressionStream( Stream inner, OpenMode mode, CompressionFormat format, CompressionMethod method ) |
Parameters
- inner
- Type: System.IO..::..Stream
Underlying stream that contains compressed data or to which decompressed 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.