Documentation ¶
Index ¶
- Variables
- func Decode(r io.ReadCloser) ([]byte, error)
- func Encode(w io.WriteCloser, b []byte) error
- func NewReader(r io.Reader) io.ReadCloser
- type Algorithm
- func (a Algorithm) BestCompressionWriter(w io.Writer) (io.WriteCloser, error)
- func (a Algorithm) BestSpeedWriter(w io.Writer) (io.WriteCloser, error)
- func (a Algorithm) DefaultWriter(w io.Writer) (io.WriteCloser, error)
- func (a Algorithm) IsConfigurable() bool
- func (a Algorithm) Name() string
- func (a Algorithm) Reader(b []byte) (io.ReadCloser, error)
- func (a Algorithm) Writer(w io.Writer) (io.WriteCloser, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Algorithm ¶
type Algorithm uint8
func (Algorithm) BestCompressionWriter ¶
func (Algorithm) BestSpeedWriter ¶
func (Algorithm) DefaultWriter ¶
func (Algorithm) IsConfigurable ¶
Click to show internal directories.
Click to hide internal directories.