Xceed .NET Libraries Documentation
ZLibCompressedStream Constructor(Stream)


Xceed.Compression.Formats Assembly > Xceed.Compression.Formats Namespace > ZLibCompressedStream Class > ZLibCompressedStream Constructor : ZLibCompressedStream Constructor(Stream)
The stream to write to and read from.
Initializes a new instance of the ZLibCompressedStream class specifying the inner stream to write to and read from.
Syntax
'Declaration
 
Public Function New( _
   ByVal inner As Stream _
)
'Usage
 
Dim inner As Stream
 
Dim instance As New ZLibCompressedStream(inner)
public ZLibCompressedStream( 
   Stream inner
)

Parameters

inner
The stream to write to and read from.
Remarks

If the ZLibCompressedStream is being used to write compressed data to the inner stream, the Xceed.Compression.CompressionLevel.Highest compression level will be used and the data will be compressed using the Xceed.Compression.CompressionMethod.Deflated compression method.

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

ZLibCompressedStream Class
ZLibCompressedStream Members
Overload List