Caveat: never tried it myself.
Cinder comes with the
zlib library, so you should be able to use the methods defined in there to compress and decompress files. For general info, see their docs.
Buffer class has methods that make use of
decompressBuffer. If you first read a file into the buffer, then compress and write it, you should have a proper ZIP file.