Decodes .xz Blocks. More...
#include "block_decoder.h"#include "filter_decoder.h"#include "check.h"Data Structures | |
| struct | lzma_coder_s | 
Functions | |
| static bool | update_size (lzma_vli *size, lzma_vli add, lzma_vli limit) | 
| static bool | is_size_valid (lzma_vli size, lzma_vli reference) | 
| static lzma_ret | block_decode (lzma_coder *coder, lzma_allocator *allocator, const uint8_t *restrict in, size_t *restrict in_pos, size_t in_size, uint8_t *restrict out, size_t *restrict out_pos, size_t out_size, lzma_action action) | 
| static void | block_decoder_end (lzma_coder *coder, lzma_allocator *allocator) | 
| lzma_ret | lzma_block_decoder_init (lzma_next_coder *next, lzma_allocator *allocator, lzma_block *block) | 
| lzma_ret | lzma_block_decoder (lzma_stream *strm, lzma_block *block) | 
| Initialize .xz Block decoder.   | |
Decodes .xz Blocks.
| lzma_ret lzma_block_decoder | ( | lzma_stream * | strm, | |
| lzma_block * | block | |||
| ) | 
Initialize .xz Block decoder.
Valid actions for lzma_code() are LZMA_RUN and LZMA_FINISH. Using LZMA_FINISH is not required. It is supported only for convenience.
References lzma_next_strm_init.
 1.7.1