Home | History | Annotate | Download | only in gzip

Lines Matching defs:Header

33 	// ErrHeader is returned when reading GZIP data that has an invalid header.
34 ErrHeader = errors.New("gzip: invalid header")
47 // The gzip file stores a header giving metadata about the compressed file.
48 // That header is exposed as the fields of the Writer and Reader structs.
52 type Header struct {
64 // each with its own header. Reads from the Reader
66 // Only the first header is recorded in the Reader fields.
75 Header // valid after NewReader or Reader.Reset
91 // The Reader.Header fields will be valid in the Reader returned.
113 z.Header, z.err = z.readHeader()
120 // of individually gzipped data streams, each with its own header and
172 // readHeader reads the GZIP header according to section 2.3.1.
174 func (z *Reader) readHeader() (hdr Header, err error) {