Function report |
Source Code:lib\xz\xz_dec_stream.c |
Create Date:2022-07-28 07:08:23 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:static enum xz_ret dec_index(struct xz_dec *s, struct xz_buf *b)
Type:enum xz_ret
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct xz_dec * | s | |
| struct xz_buf * | b |
| 300 | Do |
| 302 | If ret != XZ_STREAM_END Then |
| 304 | Return ret |
| 308 | Case Position in dec_index() == SEQ_INDEX_COUNT |
| 309 | Number of Records (matches block.count in valid files) = Variable-length integer decoded by dec_vli() |
| 316 | If Number of Records (matches block.count in valid files) != Number of Blocks decoded so far Then Return XZ_DATA_ERROR |
| 320 | Break |
| 322 | Case Position in dec_index() == SEQ_INDEX_UNPADDED |
| 325 | Break |
| 327 | Case Position in dec_index() == SEQ_INDEX_UNCOMPRESSED |
| 335 | Break |
| 339 | Return XZ_STREAM_END |
| Name | Describe |
|---|---|
| dec_main |
| 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 |