lzmaCompressBound

fnsize_t lzmaCompressBound(size_t srcSize) @safe @nogc nothrow

Returns an upper bound on the compressed size of srcSize bytes when encoded in a single call.

Parameters

srcSizeThe uncompressed data size.

Returns

The maximum number of bytes the compressed output could occupy.