An example class to demonstrate compression and decompression of BZip2 streams.
More...
|
| static void | Decompress (Stream inStream, Stream outStream, bool isStreamOwner) |
| | Decompress the inStream input writing uncompressed data to the outStream output stream
|
| static void | Compress (Stream inStream, Stream outStream, bool isStreamOwner, int level) |
| | Compress the inStream input stream sending result data to outStream output stream
|
An example class to demonstrate compression and decompression of BZip2 streams.
◆ Compress()
| void ICSharpCode.SharpZipLib.BZip2.BZip2.Compress |
( |
Stream | inStream, |
|
|
Stream | outStream, |
|
|
bool | isStreamOwner, |
|
|
int | level ) |
|
static |
Compress the inStream input stream sending result data to outStream output stream
- Parameters
-
| inStream | The readable stream to compress. |
| outStream | The output stream to receive the compressed data. |
| isStreamOwner | Both streams are closed on completion if true. |
| level | Block size acts as compression level (1 to 9) with 1 giving the lowest compression and 9 the highest. |
◆ Decompress()
| void ICSharpCode.SharpZipLib.BZip2.BZip2.Decompress |
( |
Stream | inStream, |
|
|
Stream | outStream, |
|
|
bool | isStreamOwner ) |
|
static |
Decompress the inStream input writing uncompressed data to the outStream output stream
- Parameters
-
| inStream | The readable stream containing data to decompress. |
| outStream | The output stream to receive the decompressed data. |
| isStreamOwner | Both streams are closed on completion if true. |
The documentation for this class was generated from the following file: