Xceed .NET Libraries Documentation
Xceed.Compression Assembly / Xceed.Compression Namespace / QuickCompression Class
Members


In This Topic
    QuickCompression Class
    In This Topic
    Exposes static methods that allow basic byte array compression and decompression operations.
    Syntax
    'Declaration
     
    Public Class QuickCompression 
    'Usage
     
    Dim instance As QuickCompression
    public class QuickCompression 
    Remarks

    The data compressed using the QuickCompression class produces unformatted, "raw" data, which results in compressed data that can't identify what compression method was used.  This means that if the compression method that was used is forgotten, it will not be possible to uncompress that data. In addition, the resulting compressed data is never validated, which means that if an error occurs during compression, you will not be notified. 

    Therefore, rather than using the QuickCompression class, we suggest you take a look at the compression classes located in the Xceed.Compression.Formats assembly, such as the XceedCompressionStream class, which stores the compression method in the a header as well as computes a CRC for the data and stores it in a footer. When decompressing, it also validates the stored CRC with the decompressed data to make sure that the data is valid.

    Inheritance Hierarchy

    System.Object
       Xceed.Compression.QuickCompression

    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