Home Forums .NET libraries Xceed Zip & Real-Time Zip for .NET Decompress BZip2 file

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #19919 |

    I’m looking for an example of how to decompress a BZip2 file. The documentation shows BZip2 as a supported compressing method, but I can’t find an example of decompression.

    Imported from legacy forums. Posted by Brad (had 3415 views)

    Xceed Support
    Member
    Post count: 5658

    Our component does not support BZip2 files. Our streaming classes (QuickCompression, XceedCompressedStream, …) do not support BZip2 either.

    Our product only supports the manipulation of zip archives that have been compressed with BZip2, not stream and byte arrays.

    We will make some modifications to our documentation as it may be unclear on the subject.

    Imported from legacy forums. Posted by CharlesB (had 3072 views)

    User (Old forums)
    Member
    Post count: 23064

    Is BZip2 still not supported and/or documented for decompression?

    We are using v3.7 of Xceed for .Net and have spent several hours trying to get this to work.

    Imported from legacy forums. Posted by Jeff (had 647 views)

    User (Old forums)
    Member
    Post count: 23064

    Hi,

    version 4.1 definitely supports BZIP2 :

    http://xceed.com/Zip_Net_Features.html

    It’s a property and it can be found in the namespace: Xceed.Compression 
    By setting the CompressionMethod to (almost the last line of the ZipDemo.cs) 

    private

    static CompressionMethod m_method = CompressionMethod.BZip2;

    instead of the currently there:

    private

    static CompressionMethod m_method = CompressionMethod.Deflated

    in the sample project ZipDemo (C:\Xceed Component Samples\Xceed Zip for .NET 4.1\Samples\Zip-related\CSharp\ZipDemo) you will be zipping (and unzipping) files with the BZip2 compression method.

    http://doc.xceedsoft.com/products/XceedFileSystem/Xceed.Compression~Xceed.Compression.CompressionMethod.html

    Best regards,

    Imported from legacy forums. Posted by Ghislain (had 1784 views)

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.