Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A new feature added : unzip only one specific file in zip file to disk or memory #52

Closed
wants to merge 3 commits into from

Conversation

V01dZer0
Copy link
Contributor

A new feature added : unzip only one specific file in zip file to disk or memory

{
[self OutputErrorMessage:@"Failed to read zip file"];
}
} while (read > 0);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This loop won't exit correctly if the number of read bytes is zero, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If read bytes is zero or negative value, the do-while loop breaks. If positive value, data appended into fileMutableData.

@V01dZer0 V01dZer0 closed this by deleting the head repository Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants