Question

I have been using zlib to inflate some .gz and zip files. The issue is that now I wish to inflate .zip archives but my research and trial and error seems to tell me that zlib cannot do this? If so what other libraries could I used because at the moment I can only find minizip and lzma but both libraries only support Windows.(The best option would be one I can port cross platform).

Thanks Sam

Was it helpful?

Solution 3

Ended up using libzip, and a fantastic example of how to use the library by Mobius https://gist.github.com/mobius/1759816

OTHER TIPS

You can look into POCO libraries. They have support for OS X as well.

You can use libarchive, which is available both in MacPorts and Homebrew.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top