Documentation ¶
Overview ¶
Package compressor 提供了压缩算法的实现
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compressor ¶
type Compressor interface { // Name 算法的名称 Name() string // NewDecoder 将 r 包装成为当前压缩算法的解码器 NewDecoder(r io.Reader) (io.ReadCloser, error) // NewEncoder 将 w 包装成当前压缩算法的编码器 NewEncoder(w io.Writer) (io.WriteCloser, error) }
Compressor 压缩算法的接口
Click to show internal directories.
Click to hide internal directories.