Xceed Real-Time Zip for .NET Documentation
Decompress(Byte[],Int32,Int32,String) Method


Xceed.Compression.Formats Assembly > Xceed.Compression.Formats Namespace > XceedCompressedStreamEx 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.
The encryption password to use.
Decompresses an array of Xceed formatted compressed bytes specifying the amount of bytes to decompress, using the specified encryption password. Use this method to decompress data compatible with the ActiveX Xceed Zip Compression Library (XceedCompression object).
Syntax
'Declaration
 
Public Overloads Shared Shadows 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 = XceedCompressedStreamEx.Decompress(buffer, offset, count, encryptionPassword)
public new 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
The encryption password to use.
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

XceedCompressedStreamEx Class
XceedCompressedStreamEx Members
Overload List