AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Zip archive spanning for mac9/16/2023 If you find any issues, please let me know. I have done my best to provide a bug-free implementation. The source code is available in hwzip-2.1.zip. It tells some of the history, and provides a reasonably efficient example implementation written from scratch in C. This article explains how the Zip file format and its compression scheme work in great detail: LZ77 compression, Huffman coding, Deflate and all. Hopefully it is interesting to read about too. The implementation turned into an exciting programming exercise there is great pleasure to be had from creating a well oiled machine that takes data apart, jumbles its bits into a more efficient representation, and puts it all back together again. At some point I decided to address that by learning how it works and writing my own Zip program. I have been curious about data compression and the Zip file format in particular for a long time.
0 Comments
Read More
Leave a Reply. |