Versions in this module Expand all Collapse all v1 v1.4.0 Jul 8, 2018 v1.3.0 Apr 2, 2018 Changes in this version + var ErrIncompressible = errors.New("input is not compressible") + var ErrUseRLE = errors.New("input is single value repeated") + func Compress(in []byte, s *Scratch) ([]byte, error) + func Decompress(b []byte, s *Scratch) ([]byte, error) + type Scratch struct + DecompressLimit int + MaxSymbolValue uint8 + Out []byte + TableLog uint8 + func (s *Scratch) Histogram() []uint32 + func (s *Scratch) HistogramFinished(maxSymbol uint8, maxCount int)