Xceed Real-Time Zip for .NET Documentation
LZMACompressedStream Constructor(Stream,LZMAOptions)


Xceed.Compression.Formats Assembly > Xceed.Compression.Formats Namespace > LZMACompressedStream Class > LZMACompressedStream Constructor : LZMACompressedStream Constructor(Stream,LZMAOptions)
The inner stream to write to and read from.
The LZMA options to use when writing (compressing). Can be null.
Initializes a new instance of the LZMACompressedStream class specifying the stream to write to and read from and using a set of options for the compression engine.
Syntax
'Declaration
 
Public Function New( _

   ByVal inner As Stream, _

   ByVal options As LZMAOptions _

)
'Usage
 
Dim inner As Stream

Dim options As LZMAOptions

 

Dim instance As New LZMACompressedStream(inner, options)
public LZMACompressedStream( 

   Stream inner,

   LZMAOptions options

)

Parameters

inner
The inner stream to write to and read from.
options
The LZMA options to use when writing (compressing). Can be null.
Remarks

If the LZMACompressedStream is being used to write compressed data to the inner stream, CompressionLevel.Highest 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

LZMACompressedStream Class
LZMACompressedStream Members
Overload List