Function report |
Source Code:lib\xz\xz_dec_stream.c |
Create Date:2022-07-28 07:08:29 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:xz_dec_run() is a wrapper for dec_main() to handle some special cases in* multi-call and single-call decoding.* In multi-call mode, we must return XZ_BUF_ERROR when it seems clear that we* are not going to make any progress anymore
Proto:enum xz_ret xz_dec_run(struct xz_dec *s, struct xz_buf *b)
Type:enum xz_ret
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct xz_dec * | s | |
| struct xz_buf * | b |
| 764 | If ret == XZ_OK Then ret = If in_pos == in_size Then XZ_DATA_ERROR Else XZ_BUF_ERROR |
| 768 | If ret != XZ_STREAM_END Then |
| 779 | Else |
| 783 | Return ret |
| Name | Describe |
|---|---|
| unxz | This function implements the API defined in |
| xz_dec_test_write | Decode the data given to us from the userspace. CRC32 of the uncompressed* data is calculated and is printed at the end of successful decoding. The* uncompressed data isn't stored anywhere for further use.* The |
| 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 |