LzoChunk.maxChunkLength

Calculates the maximum chunk length from input data which has a length of uncompressed_length.

Note: Surprisingly, this is more than uncompressed_length but that's the worst case for completely uncompressable data.

class LzoChunk(bool LengthInline = true)
static
size_t
maxChunkLength

Parameters

uncompressed_length size_t

length of data to compressed

Return Value

Type: size_t

maximum compressed length of data

Meta