package
0.0.0-20171011075504-07f7db3ea99f
Repository: https://github.com/mattn/go.git
Documentation: pkg.go.dev

# Functions

NewReader creates a new Reader reading the given reader.
NewWriter returns a new Writer.
NewWriterLevel is like NewWriter but specifies the compression level instead of assuming DefaultCompression.

# Constants

These constants are copied from the flate package, so that code that imports "compress/gzip" does not also have to import "compress/flate".
These constants are copied from the flate package, so that code that imports "compress/gzip" does not also have to import "compress/flate".
These constants are copied from the flate package, so that code that imports "compress/gzip" does not also have to import "compress/flate".
These constants are copied from the flate package, so that code that imports "compress/gzip" does not also have to import "compress/flate".
These constants are copied from the flate package, so that code that imports "compress/gzip" does not also have to import "compress/flate".

# Variables

ErrChecksum is returned when reading GZIP data that has an invalid checksum.
ErrHeader is returned when reading GZIP data that has an invalid header.

# Structs

The gzip file stores a header giving metadata about the compressed file.
A Reader is an io.Reader that can be read to retrieve uncompressed data from a gzip-format compressed file.
A Writer is an io.WriteCloser.