
For large messages this generates far less garbage than ioutil.ReadAll(). Implement for gzip - RFC1952 requires it, and the Go implementation checks it already (modulo 2^32).
For large messages this generates far less garbage than ioutil.ReadAll(). Implement for gzip - RFC1952 requires it, and the Go implementation checks it already (modulo 2^32).