Comments (6)
@AlicanC , istx25 left the project.
The idea seems nice, so I'll reopen this feature request.
from ziparchive.
Love it. Would be a great addition.
from ziparchive.
I have added option to unzip NSData simply by writing this data into temporary location on disk, unzip and remove temporary file. If this solution is fine with You I can make PR with tests.
from ziparchive.
Please create a PR, @frytaz!
from ziparchive.
from ziparchive.
@istx25 what has happened to this? I couldn't find any info related to this issue in the issue you linked.
Also, @frytaz's solution just adds some developer convenience. It doesn't really matter if the user of the library or the library itself writes to a temp file. No matter who does it, the performance implications will still be there. If the underlying library (minizip?) supports reading from memory, then passing NSData directly to it will reduce IO and increase performance.
Edit: minizip supports this: https://github.com/nmoinvaz/minizip#io-memory
from ziparchive.
Related Issues (20)
- [SSZipArchive] Failed to open file on unzipping.(Error Domain=NSPOSIXErrorDomain Code=24 "Too many open files")
- Veracode scan reported very high vulnerability HOT 3
- Skipping some file while zip folder
- Does SSZipArchive support brotli uncompress?
- "...minimum platform version 15.5 for the iOS platform..." HOT 1
- unzipping not working HOT 3
- About directory backtracking HOT 1
- Problem in unzip function: why completionHandler always faster than progressHandler?
- When creating zip file, UI freeze while app background to foreground.
- unzip succeed, but some files was lost HOT 5
- Unhandled edge case in _sanitizedPath HOT 1
- Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied" 解压失败是什么原因? HOT 1
- ssziparchive leaks HOT 1
- uncompressed_size is not right HOT 1
- Brian Reinwald
- iOS 17 New required reason API HOT 3
- Unzipping an SSZipArchive zip file loses executable permissions
- Apple's update to their API policy - Required Reason HOT 1
- Use of Insufficiently Random Values HOT 1
- Q: Are there any plans to fix CVE-2023-39136 (DoS attacks) vulnerability for releases before `2.5.0` version? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ziparchive.