BZip2OutputStream Constructor (Stream, Int32)

IC Sharp Sharp Zip Lib

ICSharpCode SharpZipLib Class Library

BZip2OutputStream Constructor (Stream, Int32)

Initialise a new instance of the BZip2OutputStream for the specified stream, using the given blocksize.

public BZip2OutputStream(
   Stream stream,
   int blockSize
);

Parameters

stream
The stream to write compressed data to.
blockSize
The block size to use.

Remarks

Valid block sizes are in the range 1..9, with 1 giving the lowest compression and 9 the highest.

See Also

BZip2OutputStream Class | ICSharpCode.SharpZipLib.BZip2 Namespace | BZip2OutputStream Constructor Overload List