Lzo.maxCompressedLength

Calculates the maximum compressed length of 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 Lzo
static
size_t
maxCompressedLength

Parameters

uncompressed_length size_t

length of data to compressed

Return Value

Type: size_t

maximum compressed length of data

Meta