Ionic Zip Library v1.9.1.6
ParallelDeflateOutputStream Constructor (stream, level, leaveOpen)
Reference ► Ionic.Zlib ► ParallelDeflateOutputStream ► ParallelDeflateOutputStream(Stream, CompressionLevel, Boolean)
Create a ParallelDeflateOutputStream and specify 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, bool leaveOpen )
Public Sub New ( _ stream As Stream, _ level As CompressionLevel, _ leaveOpen As Boolean _ )
public: ParallelDeflateOutputStream( Stream^ stream, CompressionLevel level, bool leaveOpen )
Parameters
- stream (Stream)
- The stream to which compressed data will be written.
- level (CompressionLevel)
- A tuning knob to trade speed for effectiveness.
- 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.