Rizin
unix-like reverse engineering framework and cli tools
|
LZMA encoder API. More...
#include "common.h"
Go to the source code of this file.
Typedefs | |
typedef struct lzma_lzma1_encoder_s | lzma_lzma1_encoder |
Functions | |
lzma_ret | lzma_lzma_encoder_init (lzma_next_coder *next, const lzma_allocator *allocator, const lzma_filter_info *filters) |
uint64_t | lzma_lzma_encoder_memusage (const void *options) |
lzma_ret | lzma_lzma_props_encode (const void *options, uint8_t *out) |
bool | lzma_lzma_lclppb_encode (const lzma_options_lzma *options, uint8_t *byte) |
Encodes lc/lp/pb into one byte. Returns false on success and true on error. More... | |
LZMA encoder API.
Definition in file lzma_encoder.h.
typedef struct lzma_lzma1_encoder_s lzma_lzma1_encoder |
Definition at line 1 of file lzma_encoder.h.
lzma_ret lzma_lzma_encoder_init | ( | lzma_next_coder * | next, |
const lzma_allocator * | allocator, | ||
const lzma_filter_info * | filters | ||
) |
Definition at line 619 of file lzma_encoder.c.
References allocator, filters, lzma_encoder_init(), and lzma_lz_encoder_init().
Referenced by alone_encoder_init().
Definition at line 628 of file lzma_encoder.c.
References is_options_valid(), lzma_lz_encoder_memusage(), options, set_lz_options(), and UINT64_MAX.
Referenced by lzma_lzma2_encoder_memusage().
bool lzma_lzma_lclppb_encode | ( | const lzma_options_lzma * | options, |
uint8_t * | byte | ||
) |
Encodes lc/lp/pb into one byte. Returns false on success and true on error.
Definition at line 645 of file lzma_encoder.c.
References assert(), is_lclppb_valid(), and options.
Referenced by alone_encoder_init(), and lzma2_header_lzma().