Function zstd_sys::ZSTD_sequenceBound
source · pub unsafe extern "C" fn ZSTD_sequenceBound(srcSize: usize) -> usize
Expand description
ZSTD_sequenceBound() :
srcSize
: size of the input buffer
@return : upper-bound for the number of sequences that can be generated
from a buffer of srcSize bytes
note : returns number of sequences - to get bytes, multiply by sizeof(ZSTD_Sequence).