datanoise / zlib.cr

zlib binding for Crystal language
MIT License
9 stars 2 forks source link

IO's implementation #4

Open bcardiff opened 8 years ago

bcardiff commented 8 years ago

Me again :-) I was reviewing a bit the deflate implementation and notice it wasn't a formal IO. Any reason not to?

I made an implementation in https://github.com/bcardiff/zlib.cr/blob/io/src/deflate_io.cr . PR is coming soon probably but, before:

I hope I didn't miss any corner cases, your code and specs where really helpful :-).

Any chance of getting feedback regarding the above questions? Next step would be to make a IO version of inflate.