Function report |
Source Code:lib\zstd\decompress.c |
Create Date:2022-07-28 07:06:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:! ZSTD_getcBlockSize() :* Provides the size of compressed block from block header `src`
Proto:size_t ZSTD_getcBlockSize(const void *src, size_t srcSize, blockProperties_t *bpPtr)
Type:size_t
Parameter:
Type | Parameter | Name |
---|---|---|
const void * | src | |
size_t | srcSize | |
blockProperties_t * | bpPtr |
396 | If srcSize < ZSTD_blockHeaderSize Then Return -***************************************** Error codes handling(srcSize_wrong) |
399 | cBlockHeader = ZSTD_readLE24(src) |
400 | cSize = cBlockHeader >> 3 |
401 | lastBlock = cBlockHeader & 1 |
402 | blockType = cBlockHeader >> 1 & 3 |
406 | If blockType == bt_reserved Then Return -***************************************** Error codes handling(corruption_detected) |
408 | Return cSize |
Name | Describe |
---|---|
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 |