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 ( // ErrCorrupt indicates the input was corrupt ErrCorrupt = errors.New("corrupt input") )
View Source
var ( // ErrTooLarge indicates the input buffer was too large ErrTooLarge = errors.New("input too large") )
Functions ¶
func CompressBound ¶
CompressBound returns the maximum length of a lz4 block, given it's uncompressed length
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.