Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\zstd\compress.c Create Date:2022-07-28 07:05:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ZSTD_compressEnd

Proto:size_t ZSTD_compressEnd(ZSTD_CCtx *cctx, void *dst, size_t dstCapacity, const void *src, size_t srcSize)

Type:size_t

Parameter:

TypeParameterName
ZSTD_CCtx *cctx
void *dst
size_tdstCapacity
const void *src
size_tsrcSize
2809  cSize = ZSTD_compressContinue_internal(cctx, dst, dstCapacity, src, srcSize, 1, 1)
2810  If ZSTD_isError() - tells if a size_t function result is an error code*@code: The function result to check for error.* Return: Non-zero iff the code is an error. Then Return cSize
2812  endResult = : nb of bytes written into dst (or an error code)
2813  If ZSTD_isError() - tells if a size_t function result is an error code*@code: The function result to check for error.* Return: Non-zero iff the code is an error. Then Return endResult
2815  Return cSize + endResult
Caller
NameDescribe
ZSTD_compress_internal
ZSTD_compress_usingCDict! ZSTD_compress_usingCDict() :* Compression using a digested Dictionary.* Faster startup than ZSTD_compress_usingDict(), recommended when same dictionary is used multiple times.* Note that compression level is decided during dictionary creation
ZSTD_compressStream_generic
ZSTD_endStream