Documentation ¶
Index ¶
Constants ¶
View Source
const (
// MaxInputSize is the largest buffer than can be compressed in a single block
MaxInputSize = 0x7E000000
)
Variables ¶
View Source
var ( // ErrTooLarge indicates the input buffer was too large ErrTooLarge = errors.New("input too large") ErrEncodeTooSmall = errors.New("encode buffer too small") )
View Source
var ( // ErrCorrupt indicates the input was corrupt ErrCorrupt = errors.New("corrupt input") )
Functions ¶
func CompressBound ¶
CompressBound returns the maximum length of a lz4 block
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.