[]
Initializes a new instance of the C1ZStreamReader class.
public C1ZStreamReader(Stream baseStream)
| Type | Name | Description |
|---|---|---|
| Stream | baseStream | Input stream that contains the compressed data. |
Initializes a new instance of the C1ZStreamReader class.
public C1ZStreamReader(Stream baseStream, bool zip, int sizeCompressed)
| Type | Name | Description |
|---|---|---|
| Stream | baseStream | Input stream that contains the compressed data. |
| bool | zip | Specifies whether the compressed stream was created in zip format. |
| int | sizeCompressed | Specifies the number of compressed bytes to read from the stream. |
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.
Initializes a new instance of the C1ZStreamReader class.
public C1ZStreamReader(Stream baseStream, bool zip)
| Type | Name | Description |
|---|---|---|
| Stream | baseStream | Input stream that contains the compressed data. |
| bool | zip | Specifies whether the compressed stream was created in zip format. |
Initializes a new instance of the C1ZStreamReader class.
public C1ZStreamReader(Stream baseStream, bool header, bool crc32)
| Type | Name | Description |
|---|---|---|
| Stream | baseStream | Input stream that contains the compressed data. |
| bool | header | Specifies whether the compressed stream contains header information (should be False for streams in zip files). |
| bool | crc32 | Specifies whether the compressed stream contains a CRC32 checksum (should be True for streams in zip files). |
Initializes a new instance of the C1ZStreamReader class.
public C1ZStreamReader(Stream baseStream, bool zip, int sizeCompressed, int method)
| Type | Name | Description |
|---|---|---|
| Stream | baseStream | Input stream that contains the compressed data. |
| bool | zip | Specifies whether the compressed stream was created in zip format. |
| int | sizeCompressed | Specifies the number of compressed bytes to read from the stream. |
| int | method | Specifies the method that was used to compress the stream. |
Initializes a new instance of the C1ZStreamReader class.
public C1ZStreamReader(Stream baseStream, bool zip, long sizeCompressed, int method)
| Type | Name | Description |
|---|---|---|
| Stream | baseStream | Input stream that contains the compressed data. |
| bool | zip | Specifies whether the compressed stream was created in zip format. |
| long | sizeCompressed | Specifies the number of compressed bytes to read from the stream. |
| int | method | Specifies the method that was used to compress the stream. |