const ( // MaxInputSize is the largest buffer than can be compressed in a single block MaxInputSize = 0x7E000000 )
CompressBound returns the maximum length of a lz4 block
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.