Initializes a new instance of the C1ZStreamReader class.
Namespace:
C1.C1ZipAssembly: C1.Silverlight.Zip (in C1.Silverlight.Zip.dll)
Syntax
C# |
---|
public C1ZStreamReader( Stream baseStream, bool zip, int sizeCompressed ) |
Visual Basic |
---|
Public Sub New ( _ baseStream As Stream, _ zip As Boolean, _ sizeCompressed As Integer _ ) |
Parameters
- baseStream
- Type: System.IO..::..Stream
Input stream that contains the compressed data.
- zip
- Type: System..::..Boolean
Specifies whether the compressed stream was created in zip format.
- sizeCompressed
- Type: System..::..Int32
Specifies the number of compressed bytes to read from the stream.
Remarks
The sizeCompressed parameter is needed only when a single stream contains
several compressed streams (in zip files for example). If this parameter is not
specified, it is assumed that the stream contains a single stream of compressed data.