Looking for a c++ compression library/libraries that can decompress rar, 7z, bz2, zip etc [closed]

StackOverflow https://stackoverflow.com/questions/18685781

  •  28-06-2022
  •  | 
  •  

Frage

Not sure if a unified library like this exist or if the algorithms are even open-sourced. I Need to be able to decompress as many types as possible without having to install any other applications.

War es hilfreich?

Lösung

7zip has all its required functions to handle archives in a separate library and it can be found at http://sourceforge.net/projects/sevenzip/

It will handle

7z, XZ, BZIP2, GZIP, TAR, ZIP, WIM, ARJ, CAB, CHM, CPIO, CramFS, DEB, DMG, FAT, HFS, ISO, LZH, LZMA, MBR, MSI, NSIS, NTFS, RAR, RPM, SquashFS, UDF, VHD, WIM, XAR, Z

.

Andere Tipps

Zlib will do this all for you: http://gnuwin32.sourceforge.net/packages/zlib.htm.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top