Replying to Avatar YoshikuniJujo

zlib(というかdeflate)は原理的には、まあまあ単純なんだけど、細かい仕様には多少めんどくささがあるな。

単純な圧縮ファイルを作ってgunzipで展開を試して、みたいなことをくりかえしながら、仕様を読みつつ実装していくのが良さそうだ。

基本的には、それほどの難しさはないかと。

一番はじめの例は「無圧縮のブロック1つ」だけのファイルってことになるかな。それでも、ヘッダとかいろいろで、ほんのすこしめんどくささがあるな。

そのうちやろう。

Avatar
YoshikuniJujo 10mo ago

https://datatracker.ietf.org/doc/html/rfc1951

https://datatracker.ietf.org/doc/html/rfc1950

https://datatracker.ietf.org/doc/html/rfc1952

Reply to this note

Please Login to reply.

Discussion

No replies yet.