Best Api to unzip a file into memory
I'm working on a Qt application where we have to read in zipped files or QByteArrays and unzip them in memory, reading the file contents without actually unzipping the file to disk.
Is there a good sdk that can enable this easily? We currently use QArchive (bugless), but we have found 开发者_JS百科it to anything but bugless and are looking to move to a different solution.
Any advice is appreciated.
Thanks,
LironHave a look at Minizip that is included in the contrib section of zlib. It is very simple, but does the job well. More recent versions look like they handle passwords.
We ended up going with quazip. Thanks Eugen.
Seems to be working well.
Take a look at http://www.7-zip.org/sdk.html. It's licensed under public domain.
精彩评论