JUnzip library now supports zipping as well
Tue, Feb 8, 2022 in post General c file format junzip library public domain unzip unzip library zip zip file format
I was cleaning up my code folder today and came across my JUnzip library. I realized that I added zipping to the "popular" (40 stars makes it my second most starred repo at the moment) library.
It supports "deflate" method is zlib is present, and "store" if not. You can take a look at the zipping demo code to take a deeper dive.
Additional thanks to Björn Samuelsson for his compact CRC32 routines that were used in case there's no zlib.