Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compressor ¶
type Compressor interface { io.ReadWriter }
Compressor represents a stream compression method.
type ZlibCompressor ¶
type ZlibCompressor struct {
// contains filtered or unexported fields
}
ZlibCompressor represents zlib stream compressor.
func NewZlibCompressor ¶
func NewZlibCompressor(reader io.Reader, writer io.Writer, level config.CompressionLevel) *ZlibCompressor
NewZlibCompressor returns a new zlib compression method.
Click to show internal directories.
Click to hide internal directories.