Versions in this module Expand all Collapse all v0 v0.0.2 Nov 6, 2023 Changes in this version + const BestCompression + const BestSpeed + const ConstantCompression + const DefaultCompression + const HuffmanOnly + const NoCompression + var ErrChecksum = zlib.ErrChecksum + var ErrDictionary = zlib.ErrDictionary + var ErrHeader = zlib.ErrHeader + func NewReader(r io.Reader) (io.ReadCloser, error) + func NewReaderDict(r io.Reader, dict []byte) (io.ReadCloser, error) + type Resetter interface + Reset func(r io.Reader, dict []byte) error + type Writer struct + func NewWriter(w io.Writer) *Writer + func NewWriterLevel(w io.Writer, level int) (*Writer, error) + func NewWriterLevelDict(w io.Writer, level int, dict []byte) (*Writer, error) + func (z *Writer) Close() error + func (z *Writer) Flush() error + func (z *Writer) Reset(w io.Writer) + func (z *Writer) Write(p []byte) (n int, err error)