kothar / brotli-go

Not maintained -> see itch.io's more up-to-date fork 👉
https://github.com/itchio/go-brotli
MIT License
82 stars 9 forks source link

Makes streaming interface works with big files #29

Closed fasterthanlime closed 8 years ago

fasterthanlime commented 8 years ago

cf. #28

turns out the io.Reader interface of golang doesn't require the entire input buffer, which simplifies our logic and makes it all work!

kothar commented 8 years ago

Ah, so we were trying to fill the input buffer completely, which was probably corrupting the stream with partial blocks or something like that. Thanks for sorting that out! :+1: