CompressionError if encoder re-initialisation fails.LzmaCompressor.reset
void reset()Reset the compression context for reuse.
All configured options (level, check, threads, dictionary) are reapplied so the compressor behaves identically to a freshly constructed instance.