ParallelDeflateOutputStream Constructor (stream, level, strategy, leaveOpen)

DotNetZip

Ionic Zip Library v1.9.1.6 ParallelDeflateOutputStream Constructor (stream, level, strategy, leaveOpen)
ReferenceIonic.ZlibParallelDeflateOutputStreamParallelDeflateOutputStream(Stream, CompressionLevel, CompressionStrategy, Boolean)
Create a ParallelDeflateOutputStream using the specified CompressionLevel and CompressionStrategy, and specifying whether to leave the captive stream open when the ParallelDeflateOutputStream is closed.
Declaration Syntax
C# Visual Basic Visual C++
public ParallelDeflateOutputStream(
	Stream stream,
	CompressionLevel level,
	CompressionStrategy strategy,
	bool leaveOpen
)
Public Sub New ( _
	stream As Stream, _
	level As CompressionLevel, _
	strategy As CompressionStrategy, _
	leaveOpen As Boolean _
)
public:
ParallelDeflateOutputStream(
	Stream^ stream, 
	CompressionLevel level, 
	CompressionStrategy strategy, 
	bool leaveOpen
)
Parameters
stream (Stream)
The stream to which compressed data will be written.
level (CompressionLevel)
A tuning knob to trade speed for effectiveness.
strategy (CompressionStrategy)
By tweaking this parameter, you may be able to optimize the compression for data with particular characteristics.
leaveOpen (Boolean)
true if the application would like the stream to remain open after inflation/deflation.
Remarks
See the ParallelDeflateOutputStream(Stream) constructor for example code.

Assembly: Ionic.Zip (Module: Ionic.Zip) Version: 1.9.1.8 (1.9.1.8)