Tag to handle LZMA compressed programming data.
|
#define | LZMA_COUNTER_SIZE_KB (10UL) |
| The maximum size of the array holding probability model counters. The size given here sets the limit for the size of the LC and LP constants used by the LZMA compressor. The necessary size of the counter array can be found from size = 4 KiB + 1.5 KiB * (1 << (LC + LP)). LZMA payloads with too large LC + LP can't be decompressed.
|
|
#define | LZMA_DICT_SIZE_KB (8UL) |
| The maximum size of the dictionary. The size given here sets the limit for the size of the dictionary used by the LZMA compressor. LZMA payloads with a dictionary that's too large can't be decompressed.
|
|
#define | LZMA_SUPPORT_NO_END_MARK (0) |
| Support not using an end mark in the LZMA compressed file Not having an end mark in the LZMA file requires more bookkeeping during decompression. Disable this option to save some code space.
|
|
Enter an LZMA compressed programming tag.
- Parameters
-
- Returns
- Error code
Parse a chunk of data from an LZMA compressed programming tag.
- Parameters
-
ctx | Parser context |
data | Input data to parse |
length | Length of data |
callbacks | Callbacks to call with parsed data |
- Returns
- Error code
Exit an LZMA compressed programming tag.
- Parameters
-
ctx | Parser context |
callbacks | Callbacks to call with parsed data |
- Returns
- Error code
Number of bytes needed for next stage of parsing.
- Parameters
-
- Returns
- Number of bytes required