保证源大小
【Pledged Source Size】
可以通过 opts.pledgedSrcSize 指定未压缩输入的预期总大小。如果输入结束时大小不匹配,压缩将以代码 ZSTD_error_srcSize_wrong 失败。
【It's possible to specify the expected total size of the uncompressed input via
opts.pledgedSrcSize. If the size doesn't match at the end of the input,
compression will fail with the code ZSTD_error_srcSize_wrong.】