Function zstd_sys::ZSTD_mergeBlockDelimiters
source ยท pub unsafe extern "C" fn ZSTD_mergeBlockDelimiters(
sequences: *mut ZSTD_Sequence,
seqsSize: usize,
) -> usize
Expand description
ZSTD_mergeBlockDelimiters() : Given an array of ZSTD_Sequence, remove all sequences that represent block delimiters/last literals by merging them into the literals of the next sequence.
As such, the final generated result has no explicit representation of block boundaries, and the final last literals segment is not represented in the sequences.
The output of this function can be fed into ZSTD_compressSequences() with CCtx setting of ZSTD_c_blockDelimiters as ZSTD_sf_noBlockDelimiters @return : number of sequences left after merging