Calculates the encoded size of a variable-length integer. More...
#include "common.h"
Functions | |
uint32_t | lzma_vli_size (lzma_vli vli) |
Get the number of bytes required to encode a VLI. |
Calculates the encoded size of a variable-length integer.
uint32_t lzma_vli_size | ( | lzma_vli | vli | ) |
Get the number of bytes required to encode a VLI.
References LZMA_VLI_BYTES_MAX, and LZMA_VLI_MAX.
Referenced by hash_append(), lzma_block_header_size(), lzma_filter_flags_size(), and lzma_index_append().