Quote:
Originally Posted by acsolu
it's easy, just replace line 164 in ZipArchive.mm with
NSMutableData* data = [[NSMutableData alloc] init];
and replace line 170 with
[data appendBytes:buffer length:read]
then you can handle the data in memory by yourselves 
|
Right, but that would still expect the ZIP to be a physical file. I wanted to avoid writing to the flash altogether (given the poor performance and limited life etc), and hold both the ZIP and the contained file data in NSData objects. But from the looks of it this would mean rewriting a lot of functions, and I am not yet experienced enough for that.