Function report |
Source Code:lib\zstd\decompress.c |
Create Date:2022-07-28 07:06:46 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: : 0 if success, or an error code, which can be tested using ZSTD_isError()
Proto:static size_t ZSTD_decodeFrameHeader(ZSTD_DCtx *dctx, const void *src, size_t headerSize)
Type:size_t
Parameter:
Type | Parameter | Name |
---|---|---|
ZSTD_DCtx * | dctx | |
const void * | src | |
size_t | headerSize |
375 | 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 |
377 | If result > 0 Then Return -***************************************** Error codes handling(srcSize_wrong) |
379 | If dictID && dictID != dictID Then Return -***************************************** Error codes handling(dictionary_wrong) |
381 | If checksumFlag Then xxh64_reset( & xxhState, 0) |
383 | Return 0 |
Name | Describe |
---|---|
ZSTD_decompressFrame | ! ZSTD_decompressFrame() :*@dctx must be properly initialized |
ZSTD_decompressContinue | : nb of bytes generated into `dst` (necessarily <= `dstCapacity) |
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_decodeFrameHeader() :* `headerSize` must be the size provided by ZSTD_frameHeaderSize().