Rizin
unix-like reverse engineering framework and cli tools
lzma_lz_decoder Struct Reference

#include <lz_decoder.h>

Public Attributes

void * coder
 Data specific to the LZ-based decoder. More...
 
lzma_ret(* code )(void *coder, lzma_dict *restrict dict, const uint8_t *restrict in, size_t *restrict in_pos, size_t in_size)
 Function to decode from in[] to *dict. More...
 
void(* reset )(void *coder, const void *options)
 
void(* set_uncompressed )(void *coder, lzma_vli uncompressed_size)
 Set the uncompressed size. More...
 
void(* end )(void *coder, const lzma_allocator *allocator)
 Free allocated resources. More...
 

Detailed Description

Definition at line 54 of file lz_decoder.h.

Member Data Documentation

◆ code

lzma_ret(* lzma_lz_decoder::code) (void *coder, lzma_dict *restrict dict, const uint8_t *restrict in, size_t *restrict in_pos, size_t in_size)

Function to decode from in[] to *dict.

Definition at line 59 of file lz_decoder.h.

Referenced by decode_buffer(), lz_encode(), lzma2_decoder_init(), lzma_lz_encoder_init(), and lzma_lzma_decoder_create().

◆ coder

◆ end

void(* lzma_lz_decoder::end) (void *coder, const lzma_allocator *allocator)

Free allocated resources.

Definition at line 69 of file lz_decoder.h.

Referenced by lz_decoder_end(), lz_encoder_end(), lzma2_decoder_end(), lzma2_decoder_init(), and lzma_lz_encoder_init().

◆ reset

void(* lzma_lz_decoder::reset) (void *coder, const void *options)

Definition at line 63 of file lz_decoder.h.

Referenced by lzma_lzma_decoder_create().

◆ set_uncompressed

void(* lzma_lz_decoder::set_uncompressed) (void *coder, lzma_vli uncompressed_size)

Set the uncompressed size.

Definition at line 66 of file lz_decoder.h.

Referenced by lzma_lz_decoder_uncompressed(), and lzma_lzma_decoder_create().


The documentation for this struct was generated from the following file: