LzmaCompressor.finish

void finish()

Finalize the stream.

Flushes all remaining buffered data and writes the .xz stream footer. No further calls to write() or flush() are permitted.

Throws

CompressionError if called more than once, the output sink is

not set, or on internal liblzma errors.