-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
On a branch of code I've this
ZipFile *archive = [[ZipFile alloc] initWithFileName:archivePath mode:ZipFileModeUnzip];
if ( ! [archive locateFileInZip:filePath])
{
[archive close];
return nil;
}
FileInZipInfo *info = [archive getCurrentFileInZipInfo];
ZipReadStream *stream = [archive readCurrentFileInZip];
NSData *data = [stream readDataOfLength:info.length];<-------INTERFACE ERROR
[stream finishedReading];
[archive close];
return data;
But I get interface error. How can i fix it?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels