jkf*_*kff 12 language-agnostic compression gzip random-access large-files
我希望能够随机访问gzip压缩文件.我可以负担得起对它进行一些预处理(比如构建某种索引),只要预处理的结果比文件本身小得多.
有什么建议?
我的想法是:
看看这个链接(C代码示例).
/* zran.c -- example of zlib/gzip stream indexing and random access
...
Run Code Online (Sandbox Code Playgroud)
Gzip只是带有信封的zlib.