Function report |
Source Code:lib\zstd\decompress.c |
Create Date:2022-07-28 07:06:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: : size of the Frame Header
Proto:static size_t ZSTD_frameHeaderSize(const void *src, size_t srcSize)
Type:size_t
Parameter:
Type | Parameter | Name |
---|---|---|
const void * | src | |
size_t | srcSize |
191 | If srcSize < ZSTD_frameHeaderSize_prefix Then Return -***************************************** Error codes handling(srcSize_wrong) |
196 | singleSegment = fhd >> 5 & 1 |
198 | Return ZSTD_frameHeaderSize_prefix + Not singleSegment + ZSTD_did_fieldSize[dictID] + ZSTD_fcs_fieldSize[fcsId] + (singleSegment && Not fcsId ) |
Name | Describe |
---|---|
ZSTD_getFrameParams | : 0, `fparamsPtr` is correctly filled, |
ZSTD_findFrameCompressedSize | : the compressed size of the frame starting at `src` |
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_frameHeaderSize() :* srcSize must be >= ZSTD_frameHeaderSize_prefix.