DotNetCompression Class Reference for Windows Phone
ZlibOutputStream Constructor(Stream,Int32,Boolean)






The underlying stream to which to write the compressed bytes.
Specifies the compression level to be used when compressing. It may be set to an integer from 0 to 9. Generally, lower compression levels result in faster performance while higher compression levels result in better compression. Compression level 0 provides no compression at all.
If True then the underlying stream is left open when this stream is closed, otherwise the underlying stream is closed when this stream is closed.
Initializes a new instance of the ZlibOutputStream class.
Syntax
'Declaration
 
Public Function New( _
   ByVal output As System.IO.Stream, _
   ByVal compressionLevel As System.Integer, _
   ByVal leaveOpen As System.Boolean _
)
'Usage
 
Dim output As System.IO.Stream
Dim compressionLevel As System.Integer
Dim leaveOpen As System.Boolean
 
Dim instance As New ZlibOutputStream(output, compressionLevel, leaveOpen)
public ZlibOutputStream( 
   System.IO.Stream output,
   System.int compressionLevel,
   System.bool leaveOpen
)
public ZlibOutputStream( 
    output: System.IO.Stream;
    compressionLevel: System.Integer;
    leaveOpen: System.Boolean
); 
public function ZlibOutputStream( 
   output : System.IO.Stream,
   compressionLevel : System.int,
   leaveOpen : System.boolean
);
public: ZlibOutputStream( 
   System.IO.Stream* output,
   System.int compressionLevel,
   System.bool leaveOpen
)
public:
ZlibOutputStream( 
   System.IO.Stream^ output,
   System.int compressionLevel,
   System.bool leaveOpen
)

Parameters

output
The underlying stream to which to write the compressed bytes.
compressionLevel
Specifies the compression level to be used when compressing. It may be set to an integer from 0 to 9. Generally, lower compression levels result in faster performance while higher compression levels result in better compression. Compression level 0 provides no compression at all.
leaveOpen
If True then the underlying stream is left open when this stream is closed, otherwise the underlying stream is closed when this stream is closed.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ZlibOutputStream Class
ZlibOutputStream Members
Overload List

Send Feedback