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
  •  | 
  •  

سؤال

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.

هل كانت مفيدة؟

المحلول

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

.

نصائح أخرى

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top