Overview of bit7z features and capabilities
masterbit7z is a cross-platform C++ static library that provides a clean wrapper interface for 7-Zip shared libraries. It enables compression, extraction, and archive manipulation.
Core Capabilities
- Compression Formats: 7z, XZ, BZIP2, GZIP, TAR, ZIP, and WIM.
- Extraction Formats: Extensive support including 7z, RAR, RAR5, ZIP, ISO, DMG, DEB, RPM, and many others.
- Archive Manipulation: Reading metadata, testing archives for errors, updating existing archives, and renaming/deleting items.
- Advanced Data Handling: Compression/extraction to/from memory and C++ standard streams; reading nested/sub-archives without intermediate files.
- Security: AES-256 encryption for 7z and ZIP; header encryption for 7z.
- Control: Operation progress callbacks, pausing/canceling operations, and automatic format detection.
Important Constraints
- DLL Dependency: Feature availability depends on the specific 7-Zip shared library used (e.g.,
7z.dllsupports all features, while7za.dllis limited to the 7z format). - Compilation Requirements: Certain features like automatic format detection and selective extraction using regular expressions are disabled by default and require specific macro definitions during compilation.