You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to be able to extract a portion of a file in the zip archive. My specific use case is reading a video file from the zip, I only want to fetch specific chunks of data from the video file while playing the video
The text was updated successfully, but these errors were encountered:
If you mean seeking to a specific file position and then read a chunk, with Objective-Zip this is not yet possible. It may be possible with the underlying MiniZip library.
What is possible now with Objective-Zip is buffered reading, i.e.: you don't need to extract the file as a whole, you can expand it in memory and consume it segment by segment. Check out this section of the README for an example.
Yeh, I currently expand in memory and pass the data back as needed. But at the moment I have to start at 0 for any given file in the zip. It would be nice to be able to read a chunk from a file in the zip and return that. I'll take a look at whats required and see if i can implement it. I might do a PR
I want to be able to extract a portion of a file in the zip archive. My specific use case is reading a video file from the zip, I only want to fetch specific chunks of data from the video file while playing the video
The text was updated successfully, but these errors were encountered: