Fingerprint_Card
Loading...
Searching...
No Matches
ICSharpCode.SharpZipLib.BZip2.BZip2 Class Reference

An example class to demonstrate compression and decompression of BZip2 streams. More...

Static Public Member Functions

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

Detailed Description

An example class to demonstrate compression and decompression of BZip2 streams.

Member Function Documentation

◆ 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
inStreamThe readable stream to compress.
outStreamThe output stream to receive the compressed data.
isStreamOwnerBoth streams are closed on completion if true.
levelBlock size acts as compression level (1 to 9) with 1 giving the lowest compression and 9 the highest.
Here is the call graph for this function:

◆ 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
inStreamThe readable stream containing data to decompress.
outStreamThe output stream to receive the decompressed data.
isStreamOwnerBoth streams are closed on completion if true.
Here is the call graph for this function:

The documentation for this class was generated from the following file: