Compress writes the data written to wc to w after compressing it. If an error occurs while initializing the compressor, that error is returned instead.
(w io.Writer)
| 63 | // error occurs while initializing the compressor, that error is returned |
| 64 | // instead. |
| 65 | Compress(w io.Writer) (io.WriteCloser, error) |
| 66 | // Decompress reads data from r, decompresses it, and provides the |
| 67 | // uncompressed data via the returned io.Reader. If an error occurs while |
| 68 | // initializing the decompressor, that error is returned instead. |