mirror of
https://github.com/facebook/zstd.git
synced 2025-08-01 09:47:01 +03:00
add dedicated error code for special case
ZSTD_compressSequencesAndLiterals() cannot produce an uncompressed block
This commit is contained in:
@ -1431,7 +1431,6 @@ ZSTD_compressSequencesAndLiterals(ZSTD_CCtx* cctx,
|
||||
but it also features the following limitations:
|
||||
- Only supports explicit delimiter mode
|
||||
- Not compatible with frame checksum, which must disabled
|
||||
- Does not write the content size in frame header
|
||||
- If any block is incompressible, will fail and return an error
|
||||
- @litSize must be == sum of all @.litLength fields in @inSeqs. Any discrepancy will generate an error.
|
||||
- the buffer @literals must be larger than @litSize by at least 8 bytes.
|
||||
|
Reference in New Issue
Block a user