StaticencodeEncodes a block of data using LZ4 compression.
The source data to compress.
The destination buffer to store the compressed data.
OptionalsIdx: number
The starting index in the source data.
OptionaleIdx: number
The ending index in the source data.
The size of the compressed block.
StaticencodeCalculates the size of the encoded block given the input size.
The input size.
The size of the encoded block.
LZ4 compression class with static methods for encoding blocks and calculating the encoding bound.