package
0.0.0-20241115082555-91616abce05b
Repository: https://github.com/tencentcodedog/linux-go-1.12.6.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.