函数逻辑报告 |
Source Code:lib\xz\xz_dec_stream.c |
Create Date:2022-07-27 08:06:15 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Decode a variable-length integer (little-endian base-128 encoding)
函数原型:static enum xz_ret dec_vli(struct xz_dec *s, const uint8_t *in, size_t *in_pos, size_t in_size)
返回类型:enum xz_ret
参数:
类型 | 参数 | 名称 |
---|---|---|
struct xz_dec * | s | |
const uint8_t * | in | |
size_t * | in_pos | |
size_t | in_size |
180 | 如果 Position in variable-length integers and Check fields 恒等于0则 Variable-length integer decoded by dec_vli() 等于0 |
185 | in_pos先自加 |
187 | Variable-length integer decoded by dec_vli() 或等于byte按位与0x7F的值左移 Position in variable-length integers and Check fields 位 |
189 | 如果byte按位与0x80的值恒等于0则 |
191 | 如果byte恒等于0且 Position in variable-length integers and Check fields 不等于0则返回:XZ_DATA_ERROR |
195 | 返回:XZ_STREAM_END |
203 | 返回:XZ_OK |
名称 | 描述 |
---|---|
dec_index | Decode the Number of Records, Unpadded Size, and Uncompressed Size* fields from the Index field. That is, Index Padding and CRC32 are not* decoded by this function.* This can return XZ_OK (more input needed), XZ_STREAM_END (everything |
dec_block_header | Decode the Block Header and initialize the filter chain. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |