Home | History | Annotate | Download | only in gzip

Lines Matching defs:Read

60 // A Reader is an io.Reader that can be read to retrieve
69 // The Reader will return an ErrChecksum when Read
72 // returned by Read as tentative until they receive the io.EOF
87 // the decompressor may read more data than necessary from r.
129 // Read returns io.EOF. If the underlying reader implements io.ByteReader,
138 // It treats the bytes read as being encoded as ISO 8859-1 (Latin-1) and
140 // This method always updates z.digest with the data read.
245 // Read implements io.Reader, reading uncompressed bytes from its underlying Reader.
246 func (z *Reader) Read(p []byte) (n int, err error) {
251 n, z.err = z.decompressor.Read(p)
282 // Read from next file, if necessary.
286 return z.Read(p)