NewReader returns a new ReadCloser that can be used to read the uncompressed version of r. If r does not also 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 finished reading. The ReadCloser r
(r io.Reader)
| 942 | // |
| 943 | // The ReadCloser returned by NewReader also implements Resetter. |
| 944 | func NewReader(r io.Reader) io.ReadCloser { |
| 945 | return NewReaderOpts(r) |
| 946 | } |
| 947 | |
| 948 | // NewReaderDict is like NewReader but initializes the reader |
| 949 | // with a preset dictionary. The returned Reader behaves as if |
searching dependent graphs…