However, there is a way to do so, by chopping up the input into blocks, and inserting a "sync flush" between them. I looked a bit at the gzip implementation, and it may be doable with a few modifications. The main sacrifice will be compression efficiency, but with, say, 1mb segments that should be well below a percent.
I may give this a shot when I get back to my computer (currently on the road).
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Some testing around compression:
https://github.com/sajari/talks/tree/master/201409/code
Well, fixed anyway. Please try at tip.