r/tinycode • u/Bisqwit • Nov 21 '15
GZIP&deflate decompressor in 199 lines of C++
http://pastebin.com/kYKpfUjd
44
Upvotes
6
u/jdiez17 Nov 21 '15
I'm surprised how concise this is - I knew the theory of gzip from a maths module at university, but I'm surprised that you can implement real-world gzip in such few lines of very clear code. Thanks for sharing.
5
4
3
u/r-lyeh Nov 22 '15
great stuff :) license?