On
http://golang.org/pkg/compress/zlib/
I find the documentation for the zlib-package. For reading a
compressed chunk of data the example is:
r, err := zlib.NewReader(&b)
io.Copy(os.Stdout, r)
r.Close()
But how do I wrap the open'ing and close'ing of a file around this
excerpt, so that I can read a compressed file?
I experimented with a generic Reader from os and from the file-
package, created in the tutorial, but to no avail!
Answers appreciated.
TIA, ondekoza