Xceed .NET Libraries Documentation
GZipCompressedStream Constructor(Stream)


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

   Stream inner

)

Parameters

inner
The stream to write to and read from.
Remarks

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

Because the GZip compression format only supports the Deflate compression method, all data compressed with the GZipCompressedStream class will be compressed using the 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

GZipCompressedStream Class
GZipCompressedStream Members
Overload List