I am reading through the document of zlib, and it is fairly detail. But I read upon this line:
The output data will be in the zlib format, which is different from the gzip or zip formats
http://www.zlib.net/zlib_how.html
It seems that zlib creates zlib format which is not the same as zip format as is discussed in this SO:
How are zlib, gzip and zip related? What do they have in common and how are they different?
Any body know whether it is possible to create zip format with zlib? and how?