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


Xceed.Compression.Formats Assembly > Xceed.Compression.Formats Namespace > XceedCompressedStream Class > Decompress Method : Decompress(Byte[],Int32,Int32,String) 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.
A string containing the encryption password that was used used to encrypt the files in the stream.
Decompresses an array of Xceed formatted compressed bytes specifying the amount of bytes to decompress and encryption password.
Syntax
'Declaration
 
Public Overloads Shared Function Decompress( _

   ByVal buffer() As Byte, _

   ByVal offset As Integer, _

   ByVal count As Integer, _

   ByVal encryptionPassword As String _

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

Dim offset As Integer

Dim count As Integer

Dim encryptionPassword As String

Dim value() As Byte

 

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

   byte[] buffer,

   int offset,

   int count,

   string encryptionPassword

)

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.
encryptionPassword
A string containing the encryption password that was used used to encrypt the files in the stream.
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