XZ Utils 5.4.1
Public Types | Data Fields
lzma_lzip_coder Struct Reference

Public Types

enum  {
  SEQ_ID_STRING , SEQ_VERSION , SEQ_DICT_SIZE , SEQ_CODER_INIT ,
  SEQ_LZMA_STREAM , SEQ_MEMBER_FOOTER
}
 

Data Fields

enum lzma_lzip_coder:: { ... }  sequence
 
uint32_t version
 .lz member format version More...
 
uint32_t crc32
 CRC32 of the uncompressed data in the .lz member. More...
 
uint64_t uncompressed_size
 Uncompressed size of the .lz member. More...
 
uint64_t member_size
 Compressed size of the .lz member. More...
 
uint64_t memlimit
 Memory usage limit. More...
 
uint64_t memusage
 Amount of memory actually needed. More...
 
bool tell_any_check
 
bool ignore_check
 
bool concatenated
 
bool first_member
 
size_t pos
 Reading position in the header and footer fields. More...
 
uint8_t buffer [LZIP_FOOTER_SIZE_MAX]
 Buffer to hold the .lz footer fields. More...
 
lzma_options_lzma options
 
lzma_next_coder lzma_decoder
 LZMA1 decoder. More...
 

Field Documentation

◆ version

uint32_t lzma_lzip_coder::version

.lz member format version

◆ crc32

uint32_t lzma_lzip_coder::crc32

CRC32 of the uncompressed data in the .lz member.

◆ uncompressed_size

uint64_t lzma_lzip_coder::uncompressed_size

Uncompressed size of the .lz member.

◆ member_size

uint64_t lzma_lzip_coder::member_size

Compressed size of the .lz member.

◆ memlimit

uint64_t lzma_lzip_coder::memlimit

Memory usage limit.

◆ memusage

uint64_t lzma_lzip_coder::memusage

Amount of memory actually needed.

◆ tell_any_check

bool lzma_lzip_coder::tell_any_check

If true, LZMA_GET_CHECK is returned after decoding the header fields. As all files use CRC32 this is redundant but it's implemented anyway since the initialization functions supports all other flags in addition to LZMA_TELL_ANY_CHECK.

◆ ignore_check

bool lzma_lzip_coder::ignore_check

If true, we won't calculate or verify the CRC32 of the uncompressed data.

◆ concatenated

bool lzma_lzip_coder::concatenated

If true, we will decode concatenated .lz members and stop if non-.lz data is seen after at least one member has been successfully decoded.

◆ first_member

bool lzma_lzip_coder::first_member

When decoding concatenated .lz members, this is true as long as we are decoding the first .lz member. This is needed to avoid incorrect LZMA_FORMAT_ERROR in case there is non-.lz data at the end of the file.

◆ pos

size_t lzma_lzip_coder::pos

Reading position in the header and footer fields.

◆ buffer

uint8_t lzma_lzip_coder::buffer[LZIP_FOOTER_SIZE_MAX]

Buffer to hold the .lz footer fields.

◆ options

lzma_options_lzma lzma_lzip_coder::options

Options decoded from the .lz header that needed to initialize the LZMA1 decoder.

◆ lzma_decoder

lzma_next_coder lzma_lzip_coder::lzma_decoder

LZMA1 decoder.


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