Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unzip NSData without temporary file

I've found a couple of libs (LiteZip and ZipArchive) that allow to unzip files on iPhone. But both of them require an input as a file. Is there a library that allows to directly unzip NSData containing zip-archived data without writing it to temporary file?
I've tried to adopt mentioned above libs for that, but with no success so far.

like image 890
Vladimir Avatar asked Nov 13 '09 08:11

Vladimir


1 Answers

In this answer to this question, I point out the CocoaDev wiki category on NSData which adds zip / unzip support to that class. This would let you do this entirely in memory.

like image 191
Brad Larson Avatar answered Sep 18 '22 18:09

Brad Larson