Xceed Real-Time Zip for Silverlight Documentation
ManagedLZMADecompressor Constructor(Int64,Int64,LZMAHeaderType)


The length of the compressed data to decompress. Use -1 to specify decompressing until the end of the stream is reached. The default value is -1. This value is useful when the compressed data does no contain the LZMA end-of-stream marker.
The length of the uncompressed data to output. Use -1 to specify an unlimited size. The default value is -1.
The type of header to read before the compressed data starts. Only use None if you intend to make your own format. In that case the SetLZMAProperties method will be useful. The default value is LZMAHeaderType.Properties.
Initializes a new instance of the ManagedLZMADecompressor class using the provided compressed and uncompressed sizes, and the header type.
Syntax
'Declaration
 
Public Function New( _

   ByVal compressedSize As Long, _

   ByVal uncompressedSize As Long, _

   ByVal headerType As LZMAHeaderType _

)
'Usage
 
Dim compressedSize As Long

Dim uncompressedSize As Long

Dim headerType As LZMAHeaderType

 

Dim instance As New ManagedLZMADecompressor(compressedSize, uncompressedSize, headerType)
public ManagedLZMADecompressor( 

   long compressedSize,

   long uncompressedSize,

   LZMAHeaderType headerType

)

Parameters

compressedSize
The length of the compressed data to decompress. Use -1 to specify decompressing until the end of the stream is reached. The default value is -1. This value is useful when the compressed data does no contain the LZMA end-of-stream marker.
uncompressedSize
The length of the uncompressed data to output. Use -1 to specify an unlimited size. The default value is -1.
headerType
The type of header to read before the compressed data starts. Only use None if you intend to make your own format. In that case the SetLZMAProperties method will be useful. The default value is LZMAHeaderType.Properties.
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

ManagedLZMADecompressor Class
ManagedLZMADecompressor Members
Overload List

Send Feedback