OpenSource C library for live zip file processing
I'm looking for a C/C++ library that can open and read the contents of zipfiles (writing zipfiles isn't a strict requirement but would be nice).
I want to be able to open a file, enumerate the files and then efficient read (unencrypted) data from the files in the zipfile.
All the libraries I've found are all very WIN32 specific. I need something that can run on Mac OS X or iPhone (PPC, X86 or 64-bit).
I'm not worried about Zip64 (although again, that would be nice)
Edit: Please don't suggest zlib. Zlib is a library for compressing/decompressing zipped data. It doesn't know anything ab开发者_JAVA百科out actual zipfiles.
Would this do? Minizip? Or even 7-zip?
how about zlib.
Check out these guys: http://www.info-zip.org/
They make the unzip utility on linux, I'm pretty sure you could use their codebase for your projects.
精彩评论