图书馆解码块一个zip文件 [英] Library for decoding a zip file in chunk

查看:185
本文介绍了图书馆解码块一个zip文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

喜同胞overflowers,
我需要去code大的zip文件(大约20MB)在iPad上。有没有一种方法来分析以块的z​​ip文件?
我非常希望通过去codeR(假设)数据的512K的时间,并取回德codeD的数据块,因为我有加载所有文件在内存中的感觉,然后DECOM preSS它可能会导致严重的内存问题。
一个指向某个增量解码库将是不错!

Hi fellow overflowers, i need to decode a large zip file (around 20mb) on the ipad. Is there a way to parse the zip file in chunks? Ideally i would like to pass the decoder (let's say) 512k of data at time, and get back a chunk of decoded data, because i have a feeling that loading all the file in memory and then decompress it could lead to severe memory problems. A pointer to some incremental decoding libraries would be nice!

谢谢,
朱利亚诺

Thanks, Giuliano

更新:由马特在他的回答中提供的链接工作对我罚款;)

UPDATE: the link provided by Matt in his answer worked fine for me ;)

推荐答案

你试过客观的拉链? HTTP://$c$c.google.com/p/objective-zip/

Have you tried objective-zip? http://code.google.com/p/objective-zip/

有附近的 HTTP的底部有一个例子:// code.google.com / p /目标-ZIP /维基/ GettingStarted ,展示如何读取大文件。

There's an example near the bottom of http://code.google.com/p/objective-zip/wiki/GettingStarted, showing how to read big files.

这篇关于图书馆解码块一个zip文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆