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






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.
Initializes a new instance of the DeflateOutputStream class.
Syntax
'Declaration
 
Public Function New( _
   ByVal output As System.IO.Stream, _
   ByVal compressionLevel As System.Integer _
)
'Usage
 
Dim output As System.IO.Stream
Dim compressionLevel As System.Integer
 
Dim instance As New DeflateOutputStream(output, compressionLevel)
public DeflateOutputStream( 
   System.IO.Stream output,
   System.int compressionLevel
)
public DeflateOutputStream( 
    output: System.IO.Stream;
    compressionLevel: System.Integer
); 
public function DeflateOutputStream( 
   output : System.IO.Stream,
   compressionLevel : System.int
);
public: DeflateOutputStream( 
   System.IO.Stream* output,
   System.int compressionLevel
)
public:
DeflateOutputStream( 
   System.IO.Stream^ output,
   System.int compressionLevel
)

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.
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

DeflateOutputStream Class
DeflateOutputStream Members
Overload List

Send Feedback