wrotycz escribió:
AFAIK, dictionary size is fixed for each compressed file and can't be changed because it has to be the same dictionary size that was used in the compression.
I am not talking about dictionary but about output buffer.
In a lzip decompressor, dictionary and output buffer are the same thing. If you find the lzip source a bit complicated, you can check it in the lzip specification[1]. The dictionary buffer is allocated in the constructor of 'class LZ_decoder' like this
buffer( new uint8_t[dictionary_size] ),
Cheers,
Sonia