Documentation ¶ Index ¶ type Brotli func NewBrotli() *Brotli func (decompressor *Brotli) Decompress(target *bytes.Buffer, from io.Reader) error type Decompressor type Gzip func NewGzip() *Gzip func (decompressor *Gzip) Decompress(target *bytes.Buffer, from io.Reader) error type Zlib func NewZlib() *Zlib func (decompressor *Zlib) Decompress(target *bytes.Buffer, from io.Reader) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Brotli ¶ type Brotli struct { sync.Pool } func NewBrotli ¶ func NewBrotli() *Brotli func (*Brotli) Decompress ¶ func (decompressor *Brotli) Decompress(target *bytes.Buffer, from io.Reader) error type Decompressor ¶ type Decompressor interface { Decompress(to *bytes.Buffer, from io.Reader) error } type Gzip ¶ type Gzip struct { sync.Pool } func NewGzip ¶ func NewGzip() *Gzip func (*Gzip) Decompress ¶ func (decompressor *Gzip) Decompress(target *bytes.Buffer, from io.Reader) error type Zlib ¶ type Zlib struct { sync.Pool } func NewZlib ¶ func NewZlib() *Zlib func (*Zlib) Decompress ¶ func (decompressor *Zlib) Decompress(target *bytes.Buffer, from io.Reader) error Source Files ¶ View all Source files brotli.godecompressors.gogzip.gozlib.go Click to show internal directories. Click to hide internal directories.