Function report |
Source Code:lib\xz\xz_dec_stream.c |
Create Date:2022-07-28 07:08:24 |
| 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 Stream Header field (the first 12 bytes of the .xz Stream).
Proto:static enum xz_ret dec_stream_header(struct xz_dec *s)
Type:enum xz_ret
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct xz_dec * | s |
| 392 | If xz_crc32(buf + HEADER_MAGIC_SIZE, 2, 0) != get_le32(buf + HEADER_MAGIC_SIZE + 2) Then Return XZ_DATA_ERROR |
| 396 | If buf[HEADER_MAGIC_SIZE] != 0 Then Return XZ_OPTIONS_ERROR |
| 414 | If Type of the integrity check calculated from uncompressed data > XZ_CHECK_CRC32 Then Return XZ_OPTIONS_ERROR |
| 418 | Return XZ_OK |
| 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 |