Xceed .NET Libraries Documentation
Decompress(Byte[],Int32,Int32) Method


Xceed.Compression.Formats Assembly > Xceed.Compression.Formats Namespace > LZMACompressedStream Class > Decompress Method : Decompress(Byte[],Int32,Int32) Method
An array of bytes to decompress. A maximum of count bytes are taken from this array and decompressed.
The byte offset in buffer at which to begin taking the data to decompress.
The maximum number of bytes to be taken from buffer.
Decompresses an array of LZMA formatted compressed bytes specifying the amount of bytes to decompress.
Syntax
'Declaration
 
Public Overloads Shared Function Decompress( _

   ByVal buffer() As Byte, _

   ByVal offset As Integer, _

   ByVal count As Integer _

) As Byte()
'Usage
 
Dim buffer() As Byte

Dim offset As Integer

Dim count As Integer

Dim value() As Byte

 

value = LZMACompressedStream.Decompress(buffer, offset, count)
public static byte[] Decompress( 

   byte[] buffer,

   int offset,

   int count

)

Parameters

buffer
An array of bytes to decompress. A maximum of count bytes are taken from this array and decompressed.
offset
The byte offset in buffer at which to begin taking the data to decompress.
count
The maximum number of bytes to be taken from buffer.

Return Value

An array of bytes containing the decompressed data.
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