ZipFile::Builder and compression


#1

ZipFile::Builder states that it does not apply compression to the created zip file. A simple test confirms this (e.g. a 62k folder becomes 58k file with ZipFile::Builder, whereas an OSX zipped version reports 33k)

Are there plans to add compression, and if not very soon then is there a workaround to apply compression? Do I need to dig into zlib for this? 

Thanks


#2

I think that comment is out-of-date - it does compress the data if you give it a non-zero compression level in the addEntry() method!


#3

Ah yes i see it does compress, I took that documentation comment to be true... Thanks for fixing !