Function report |
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 activity | Download SCCT | Chinese |
Name: : amount of data remaining to flush
Proto:size_t ZSTD_flushStream(ZSTD_CStream *zcs, ZSTD_outBuffer *output)
Type:size_t
Parameter:
Type | Parameter | Name |
---|---|---|
ZSTD_CStream * | zcs | |
ZSTD_outBuffer * | output |
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |
Brief:! ZSTD_flushStream() :