Home › Forums › .NET libraries › Xceed Zip & Real-Time Zip for .NET › Decompress BZip2 file
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)
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)
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)
version 4.1 definitely supports BZIP2 :
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)
static CompressionMethod m_method = CompressionMethod.BZip2;
instead of the currently there:
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.
Imported from legacy forums. Posted by Ghislain (had 1784 views)