I'm writing an application that needs to read the contents of & decompress common file-archival formats, including ZIP, RAR, and 7z. However, I can't seem to find a library that does all this and abstracts the functionality to the level I need, with simple functions in the vein of:
- ExtractArchive()
- ExtractArchiveTruncated()
- ReadArchiveFileTree()
- SearchArchiveContents()
I don't need (or want) to mess around with the deep technical details of compression and the various formats.
Does anyone know of any such library, or a viable alternative?
Thanks!