package
0.0.0-20130121074735-1d03baafba06
Repository: https://github.com/icattlecoder/go.git
Documentation: pkg.go.dev
# Functions
NewReader creates a new Reader reading the given reader.
NewWriter creates a new Writer that satisfies writes by compressing data written to w.
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".
# 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 that satisfies writes by compressing data written to its wrapped io.Writer.