The goal of this project was to understand how the ZIP format is structured.
The source code gets a ZIP file, parse it, display its content and allow to download the archive's files. It is also possible to drag&drop a file on the document.
Warning
Please note this project is for educational purpose only.
The performances are probably bad and the feature set is incomplete.
Great resources:
- Latest ZIP specification
- ZIP on Wikipedia
- Deflate on Wikipedia
- Deflate RFC
- LZ77 on Wikipedia
- Huffman coding on Wikipedia (especially this image)
- The structure of a PKZip file
- Zip Files: History, Explanation and Implementation
- 📹 Data Compression Lecture (DEFLATE)
Streams: