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:Validate that the next four input bytes match the value of s->crc32.
Proto:static enum xz_ret crc32_validate(struct xz_dec *s, struct xz_buf *b)
Type:enum xz_ret
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct xz_dec * | s | >pos must be zero when starting to validate the first byte. |
| struct xz_buf * | b |
| 348 | Do |
| 352 | If ( CRC32 value in Block or Index >> Position in variable-length integers and Check fields & 0xFF) != in[in_pos++] Then Return XZ_DATA_ERROR |
| 357 | When Position in variable-length integers and Check fields < 32 cycle |
| 359 | CRC32 value in Block or Index = 0 |
| 362 | 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 |