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 Level ¶
type Level int
Level represents a stream compression level.
const ( // NoCompression represents no stream compression. NoCompression Level = iota // DefaultCompression represents 'default' stream compression level. DefaultCompression // BestCompression represents 'best for size' stream compression level. BestCompression // SpeedCompression represents 'best for speed' stream compression level. SpeedCompression )
type ZlibCompressor ¶
type ZlibCompressor struct {
// contains filtered or unexported fields
}
ZlibCompressor represents zlib stream compressor.
func NewZlibCompressor ¶
NewZlibCompressor returns a new zlib compression method.
Click to show internal directories.
Click to hide internal directories.