Decoder for LZMA_Alone files. More...
#include "alone_decoder.h"
#include "lzma_decoder.h"
#include "lz_decoder.h"
Data Structures | |
struct | lzma_coder_s |
Functions | |
static lzma_ret | alone_decode (lzma_coder *coder, lzma_allocator *allocator lzma_attribute((unused)), 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 | alone_decoder_end (lzma_coder *coder, lzma_allocator *allocator) |
static lzma_ret | alone_decoder_memconfig (lzma_coder *coder, uint64_t *memusage, uint64_t *old_memlimit, uint64_t new_memlimit) |
lzma_ret | lzma_alone_decoder_init (lzma_next_coder *next, lzma_allocator *allocator, uint64_t memlimit) |
lzma_ret | lzma_alone_decoder (lzma_stream *strm, uint64_t memlimit) |
Initialize .lzma decoder (legacy file format). |
Decoder for LZMA_Alone files.
lzma_ret lzma_alone_decoder | ( | lzma_stream * | strm, | |
uint64_t | memlimit | |||
) |
Initialize .lzma decoder (legacy file format).
Valid `action' arguments to lzma_code() are LZMA_RUN and LZMA_FINISH. There is no need to use LZMA_FINISH, but allowing it may simplify certain types of applications.
References lzma_next_strm_init.
Referenced by coder_init().