Documentation ¶
Index ¶
Constants ¶
View Source
const ( // BestSpeed provides speed over better compression. BestSpeed = 3 // BestCompression provides better compression over speed. BestCompression = 9 )
Variables ¶
This section is empty.
Functions ¶
func NewReader ¶
func NewReader(r io.Reader) (io.ReadCloser, error)
NewReader creates a new Reader reading the given reader.
func NewWriter ¶
func NewWriter(w io.Writer) io.WriteCloser
NewWriter creates a new Writer that satisfies writes by compressing data written to w.
func NewWriterLevel ¶
NewWriterLevel is like NewWriter but specifies the compression level instead of assuming the default compression level.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.