Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\zstd\decompress.c Create Date:2022-07-28 07:06:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: : decompressed size of the single frame pointed to be `src` if known, otherwise

Proto:unsigned long long ZSTD_getFrameContentSize(const void *src, size_t srcSize)

Type:unsigned long long

Parameter:

TypeParameterName
const void *src
size_tsrcSize

Brief:ZSTD_getFrameContentSize() :* compatible with legacy mode* - ZSTD_CONTENTSIZE_UNKNOWN if the size cannot be determined* - ZSTD_CONTENTSIZE_ERROR if an error occurred (e.g. invalid magic number, srcSize too small)

301  If : 0, `fparamsPtr` is correctly filled, != 0 Then Return ZSTD_CONTENTSIZE_ERROR
303  If windowSize == 0 Then
305  Return 0
306  Else if frameContentSize != 0 Then
307  Return frameContentSize
308  Else
309  Return ZSTD_CONTENTSIZE_UNKNOWN
Caller
NameDescribe
ZSTD_findDecompressedSize : decompressed size of the frames contained