Examples using... "compress/zlib"
Recent
NewWriter creates a new Writer.
Writes to the returned Writer are compressed and written to w.
NewReader creates a new ReadCloser.
Reads from the returned ReadCloser read and decompress data from r.
If r does not implement io.ByteReader, the decompressor may read more
data than necessary from r.
It is the caller's responsibility to call Close on the ReadCloser when done.