Data Fields

lzma_dict Struct Reference

Data Fields

uint8_t * buf
size_t pos
size_t full
size_t limit
 Write limit.
size_t size
 Size of the dictionary.
bool need_reset
 True when dictionary should be reset before decoding more data.

Field Documentation

uint8_t* lzma_dict::buf

Pointer to the dictionary buffer. It can be an allocated buffer internal to liblzma, or it can a be a buffer given by the application when in single-call mode (not implemented yet).

Referenced by dict_get(), dict_put(), and dict_repeat().

Write position in dictionary. The next byte will be written to buf[pos].

Referenced by dict_get(), dict_put(), and dict_repeat().

Indicates how full the dictionary is. This is used by dict_is_distance_valid() to detect corrupt files that would read beyond the beginning of the dictionary.

Referenced by dict_is_distance_valid(), dict_is_empty(), dict_put(), and dict_repeat().

Write limit.

Referenced by dict_put(), and dict_repeat().

Size of the dictionary.

Referenced by dict_get(), and dict_repeat().

True when dictionary should be reset before decoding more data.


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