Function report |
Source Code:lib\zstd\decompress.c |
Create Date:2022-07-28 07:07:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:ZSTD_decompressMultiFrame
Proto:static size_t ZSTD_decompressMultiFrame(ZSTD_DCtx *dctx, void *dst, size_t dstCapacity, const void *src, size_t srcSize, const void *dict, size_t dictSize, const ZSTD_DDict *ddict)
Type:size_t
Parameter:
Type | Parameter | Name |
---|---|---|
ZSTD_DCtx * | dctx | |
void * | dst | |
size_t | dstCapacity | |
const void * | src | |
size_t | srcSize | |
const void * | dict | |
size_t | dictSize | |
const ZSTD_DDict * | ddict |
1648 | If ddict Then |
1649 | If dict Then |
1654 | dict = ZSTD_DDictDictContent(ddict) |
1655 | dictSize = ZSTD_DDictDictSize(ddict) |
1658 | When srcSize >= ZSTD_frameHeaderSize_prefix cycle |
1661 | magicNumber = ZSTD_readLE32(src) |
1662 | If magicNumber != >= v0.8.0 Then |
1663 | If (magicNumber & 0xFFFFFFF0U) == ZSTD_MAGIC_SKIPPABLE_START Then |
1665 | If srcSize < magic number + skippable frame length Then Return -***************************************** Error codes handling(srcSize_wrong) |
1667 | skippableSize = ZSTD_readLE32((constBYTE * )src + 4) + magic number + skippable frame length |
1668 | If srcSize < skippableSize Then |
1672 | src = src + skippableSize |
1673 | srcSize -= skippableSize |
1674 | Continue |
1675 | Else |
1680 | If ddict Then |
1682 | ZSTD_refDDict(dctx, ddict) |
1683 | Else |
1688 | ZSTD_checkContinuity(dctx, dst) |
1701 | If srcSize Then Return -***************************************** Error codes handling(srcSize_wrong) |
Name | Describe |
---|---|
ZSTD_decompress_usingDict | |
ZSTD_decompress_usingDDict | ! ZSTD_decompress_usingDDict() :* Decompression using a pre-digested Dictionary* Use dictionary without significant overhead. |
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 |