Refactor ZSTD_compressBlock_internal() to do the block header write within and add nbSeq argument to compressSequences()