21 if (lzma_block_unpadded_size(block) == 0)
25 + lzma_check_size(block->
check);
46 lzma_block_unpadded_size(
const lzma_block *block)
71 + lzma_check_size(block->
check);
#define LZMA_CHECK_ID_MAX
Maximum valid Check ID.
const lzma_allocator lzma_vli unpadded_size
#define LZMA_BLOCK_HEADER_SIZE_MIN
#define LZMA_BLOCK_HEADER_SIZE_MAX
static lzma_vli vli_ceil4(lzma_vli vli)
Round the variable-length integer to the next multiple of four.
#define UNPADDED_SIZE_MAX
Maximum Unpadded Size.
#define UNPADDED_SIZE_MIN
Minimum Unpadded Size.
assert(limit<=UINT32_MAX/2)
Options for the Block and Block Header encoders and decoders.
uint32_t header_size
Size of the Block Header field.
lzma_check check
Type of integrity Check.
lzma_vli compressed_size
Size of the Compressed Data in bytes.
uint32_t version
Block format version.
Definitions common to the whole liblzma library.
uint64_t lzma_vli
Variable-length integer type.
#define lzma_vli_is_valid(vli)
Validate a variable-length integer.
#define LZMA_VLI_UNKNOWN
VLI value to denote that the value is unknown.
lzma_ret
Return values used by several functions in liblzma.
@ LZMA_PROG_ERROR
Programming error.
@ LZMA_DATA_ERROR
Data is corrupt.
@ LZMA_OK
Operation completed successfully.