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

  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.

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

  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.

Here is the call graph for this function:

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

- ICSharpCode.SharpZLib/BZip2/BZip2.cs