Xceed .NET Libraries Documentation
XceedCompressedStream Constructor(Stream)


Xceed.Compression.Formats Assembly > Xceed.Compression.Formats Namespace > XceedCompressedStream Class > XceedCompressedStream Constructor : XceedCompressedStream Constructor(Stream)
The stream to write to and read from.
Initializes a new instance of the XceedCompressedStream 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 XceedCompressedStream(inner)
public XceedCompressedStream( 
   Stream inner
)

Parameters

inner
The stream to write to and read from.
Remarks

If the XceedCompressedStream 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

XceedCompressedStream Class
XceedCompressedStream Members
Overload List