Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: : amount of data remaining to flush

Proto:size_t ZSTD_flushStream(ZSTD_CStream *zcs, ZSTD_outBuffer *output)

Type:size_t

Parameter:

TypeParameterName
ZSTD_CStream *zcs
ZSTD_outBuffer *output

Brief:! ZSTD_flushStream() :

3240  srcSize = 0
3241  sizeWritten = size - pos
3242  result = ZSTD_compressStream_generic(zcs, (char * )(dst) + pos, & sizeWritten, & srcSize, & srcSize, zsf_flush)
3245  pos += sizeWritten
3246  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 result
3248  Return outBuffContentSize - outBuffFlushedSize