Documentation ¶
Index ¶
- Constants
- Variables
- func DecodeBytesFunc(algo Algorithm) func(src []byte) (dst []byte, err error)
- func DecodeStreamFunc(algo Algorithm) func(dst io.Writer, src io.Reader) (err error)
- func EncodeBytesFunc(algo Algorithm) func(src []byte) (dst []byte, err error)
- func EncodeStreamFunc(algo Algorithm) func(dst io.Writer, src io.Reader) (err error)
- func NewDecFunc(algo Algorithm) func(r io.Reader) io.ReadCloser
- func NewEncFunc(algo Algorithm) func(w io.Writer) encodable
- type Algorithm
Constants ¶
View Source
const (
RndSeed int64 = 9009760027768254931
)
Variables ¶
View Source
var (
ErrUnknownAlgorithm = errors.New("unknown compress algorithm")
)
Functions ¶
func DecodeBytesFunc ¶
func DecodeStreamFunc ¶
func EncodeBytesFunc ¶
func EncodeStreamFunc ¶
func NewDecFunc ¶
func NewDecFunc(algo Algorithm) func(r io.Reader) io.ReadCloser
func NewEncFunc ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.