lz4CompressBlock for an input of srcSize bytes.
lz4MaxCompressedSize
private fn
size_t lz4MaxCompressedSize(size_t srcSize)Compute an upper bound on the compressed size of a single LZ4 block.
This follows the standard LZ4 bound formula: srcSize + srcSize / 255 + 16.
Parameters
srcSize | Length of the input block in bytes. |
Returns
Maximum number of bytes that may be produced by