const ( // MaxInputSize is the largest buffer than can be compressed in a single block MaxInputSize uint32 = 0x7E000000 )
CompressBound returns the maximum length of a lz4 block, given it's uncompressed length
Decode returns the decoded form of src. The returned slice may be a subslice of dst if it was large enough to hold the entire decoded block.
Encode returns the encoded form of src. The returned array may be a sub-slice of dst if it was large enough to hold the entire output.