func CompressBlock(src, dst []byte) (int, error)
func CompressBlockBound(n int) int
func CompressBlockLZ4s(src, dst []byte) (int, error)
func UncompressBlock(dst, src []byte) (ret int)
type Compressor struct {
// contains filtered or unexported fields
}
func (c *Compressor) CompressBlock(src, dst []byte) (int, error)
func (c *Compressor) CompressBlockLZ4s(src, dst []byte) (int, error)
type Error string
const ( ErrInvalidSourceShortBuffer Error = "lz4: invalid source or destination buffer too short" )
func (e Error) Error() string