zstdCompressBound

fnsize_t zstdCompressBound(size_t srcSize) @safe

Returns the maximum compressed size for a given source size.

This is a D wrapper around ZSTD_compressBound.

Parameters

srcSizeThe uncompressed data size.

Returns

The maximum number of bytes the compressed output could occupy.