Xceed.Compression.Silverlight.v6.6 Assembly > Xceed.Compression Namespace > Decompressor Class : Decompress Method |
'Declaration Public MustOverride Function Decompress( _ ByVal buffer() As Byte, _ ByVal offset As Integer, _ ByVal count As Integer, _ ByRef endOfData As Boolean, _ ByRef decompressed As Byte(), _ ByRef remaining As Integer _ ) As Integer
During a decompression session, the decompression engine can choose to keep the data to decompress in an internal buffer and return an empty array after a call to Decompress. This could happen if not enough compressed data has yet been provided to determine the decompressed result.
When Decompress is called with the parameter endOfData set to True, the decompression session is closed and all of the remaining decompressed data is returned. The next call to Decompress will create a new decompression session.
The decompressed array may have a Length greater than the number of bytes returned by the call to Decompress.
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