Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Codec ¶
type Codec struct {
Level int
}
Codec is a Compressor that is backed by compress/flate package from the standard library. The zero-value is usable but will not perform any compression. The compression level can be configured by setting the Level field. The valid values are below:
NoCompression = 0 BestSpeed = 1 BestCompression = 9 DefaultCompression = -1
Click to show internal directories.
Click to hide internal directories.