Xceed .NET Libraries Documentation
PPMdCompressedStream Constructor(Stream,CompressionLevel)


Xceed.Compression.Formats Assembly > Xceed.Compression.Formats Namespace > PPMdCompressedStream Class > PPMdCompressedStream Constructor : PPMdCompressedStream Constructor(Stream,CompressionLevel)
The stream to write to and read from.
The compression level to use.
Intializes a new instance of the PPMdCompressedStream class specifying the inner stream to write to and read from, as well as a compression level.
Syntax
'Declaration
 
Public Function New( _
   ByVal inner As Stream, _
   ByVal level As CompressionLevel _
)
'Usage
 
Dim inner As Stream
Dim level As CompressionLevel
 
Dim instance As New PPMdCompressedStream(inner, level)
public PPMdCompressedStream( 
   Stream inner,
   CompressionLevel level
)

Parameters

inner
The stream to write to and read from.
level
The compression level to use.
Remarks

If the PPMdCompressedStream is being used to write compressed data to the inner stream,
the CompressionLevel.Highest compression level will be used.

If the inner stream is readonly, the compressed stream will read the header at construction.
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

PPMdCompressedStream Class
PPMdCompressedStream Members
Overload List