函数逻辑报告 |
Source Code:lib\zstd\decompress.c |
Create Date:2022-07-27 08:04:34 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称: : decompressed size of the single frame pointed to be `src` if known, otherwise
函数原型:unsigned long long ZSTD_getFrameContentSize(const void *src, size_t srcSize)
返回类型:unsigned long long
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const void * | src | |
| size_t | srcSize |
| 301 | 如果 : 0, `fparamsPtr` is correctly filled,不等于0则返回:ZSTD_CONTENTSIZE_ERROR |
| 303 | 如果windowSize恒等于0则 |
| 305 | 返回:0 |
| 306 | 否则如果frameContentSize不等于0则 |
| 307 | 返回:frameContentSize |
| 308 | 否则 |
| 309 | 返回:ZSTD_CONTENTSIZE_UNKNOWN |
| 名称 | 描述 |
|---|---|
| ZSTD_findDecompressedSize | : decompressed size of the frames contained |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |
摘要: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)