Read and write directly from and to compressed files in C

Posted by victor on Stack Overflow See other posts from Stack Overflow or by victor
Published on 2010-05-18T17:28:14Z Indexed on 2010/05/18 17:30 UTC
Read the original article Hit count: 361

Filed under:
|
|
|

Hi,

in Java I think it is possible to cruise through jar files like they were not compressed. Is there some similar (and portable) thing in C/C++ ?

I would like to import binary data into memory from a large (zipped or similar) file without decompressing to disk first and afterwards writing to disk in a compressed way.

Maybe some trick with shell pipes and the zip utility?

© Stack Overflow or respective owner

Related posts about zip

Related posts about stream