Implementing zip archiving in Golang: unzipping

from blog Notes on software development, | ↗ original
All code for this post is available on Github. Let's take a look at how zip files work. Take a small file for example: $ cat hello.text Hello! Let's zip it up. $ zip test.zip hello.text adding: hello.text (stored 0%) $ ls -lah test.zip -rw-r--r-- 1 phil phil 177 Nov 23 23:04 test.zip So a 6 byte text file becomes a 177 byte zip file. That is...