Reading and writing directly from and to compressed files in C

in Java I think it is possible to cruise through jar files as if they weren't compressed. Are there some similar (and portable) things in C / C ++?

I would like to import binary data into memory from a large (zipped or similar) file without decompression to disk and then write to disk in a compressed way.

Maybe some kind of trick with wrappers and zip utility?

+2


a source to share


1 answer


I think you want zlib: http://www.zlib.net/



+5


a source







All Articles