Xceed .NET Libraries Documentation
CompressedStream Constructor(Stream,CompressionMethod,CompressionLevel)


Xceed.Compression Assembly > Xceed.Compression Namespace > CompressedStream Class > CompressedStream Constructor : CompressedStream Constructor(Stream,CompressionMethod,CompressionLevel)
Inner stream.
Compression method to use.
Compression level to use.
Initializes a CompressedStream using the provided compression method and level.
Syntax
'Declaration
 
Public Function New( _

   ByVal inner As Stream, _

   ByVal method As CompressionMethod, _

   ByVal level As CompressionLevel _

)
'Usage
 
Dim inner As Stream

Dim method As CompressionMethod

Dim level As CompressionLevel

 

Dim instance As New CompressedStream(inner, method, level)
public CompressedStream( 

   Stream inner,

   CompressionMethod method,

   CompressionLevel level

)

Parameters

inner
Inner stream.
method
Compression method to use.
level
Compression level to use.
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

CompressedStream Class
CompressedStream Members
Overload List