Versions in this module Expand all Collapse all v0 v0.1.0 Sep 22, 2016 Changes in this version + const BestCompression + const BestSpeed + const DefaultCompression + const HuffmanOnly + const NoCompression + func NewReader(r io.Reader) io.ReadCloser + func NewReaderDict(r io.Reader, dict []byte) io.ReadCloser + type CorruptInputError int64 + func (e CorruptInputError) Error() string + type InternalError string + func (e InternalError) Error() string + type ReadError struct + Err error + Offset int64 + func (e *ReadError) Error() string + type Reader interface + type Resetter interface + Reset func(r io.Reader, dict []byte) error + type WriteError struct + Err error + Offset int64 + func (e *WriteError) Error() string + type Writer struct + func NewWriter(w io.Writer, level int) (*Writer, error) + func NewWriterDict(w io.Writer, level int, dict []byte) (*Writer, error) + func (w *Writer) Close() error + func (w *Writer) Flush() error + func (w *Writer) Reset(dst io.Writer) + func (w *Writer) Write(data []byte) (n int, err error)