All I want to know why the Read method returns the io.UnexpectedEOF? Is it unexpected? (No-no-no-no-no-no-o-o-o-o!) Why ioutil.ReadAll returns an error? (To be more precise, why is it normal behavior (of Readers)?)
Why the flate/gzip/snappy/etc readers break the concept of the io.Reader?
(snappy returns 'corrupt input' instead of io.UnexpectedEOF)
How do I distinguish EOF from unexpected EOF (when it's actually unexpected)?--
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.