mirror of
https://github.com/facebook/zstd.git
synced 2025-03-06 16:56:49 +02:00
Specify that getSequences() will always emit block boundary sequences
This commit is contained in:
parent
536e89c723
commit
f0da97642a
@ -1143,7 +1143,7 @@ typedef struct {
|
|||||||
* rep == 2 --> offset == repeat_offset_3
|
* rep == 2 --> offset == repeat_offset_3
|
||||||
* rep == 3 --> offset == repeat_offset_1 - 1
|
* rep == 3 --> offset == repeat_offset_1 - 1
|
||||||
*
|
*
|
||||||
* Note: This field is optional. ZSTD_getSequence() will calculate the value of
|
* Note: This field is optional. ZSTD_getSequences() will calculate the value of
|
||||||
* 'rep', but repeat offsets do not necessarily need to be calculated from an external
|
* 'rep', but repeat offsets do not necessarily need to be calculated from an external
|
||||||
* sequence provider's perspective.
|
* sequence provider's perspective.
|
||||||
*/
|
*/
|
||||||
@ -1292,8 +1292,9 @@ ZSTDLIB_API unsigned long long ZSTD_decompressBound(const void* src, size_t srcS
|
|||||||
ZSTDLIB_API size_t ZSTD_frameHeaderSize(const void* src, size_t srcSize);
|
ZSTDLIB_API size_t ZSTD_frameHeaderSize(const void* src, size_t srcSize);
|
||||||
|
|
||||||
/*! ZSTD_getSequences() :
|
/*! ZSTD_getSequences() :
|
||||||
* Extract sequences from the sequence store. Any last literals in the block will be represented as a sequence
|
* Extract sequences from the sequence store.
|
||||||
* with offset == 0, matchLength == 0, litLength == last literals size.
|
* Each block will end with a dummy sequence with offset == 0, matchLength == 0, and litLength == length of last literals.
|
||||||
|
*
|
||||||
* zc can be used to insert custom compression params.
|
* zc can be used to insert custom compression params.
|
||||||
* This function invokes ZSTD_compress2
|
* This function invokes ZSTD_compress2
|
||||||
* @return : number of sequences extracted
|
* @return : number of sequences extracted
|
||||||
|
Loading…
x
Reference in New Issue
Block a user