LzmaDecompressor.finish

void finish()

Finalize the stream.

Drains any remaining buffered decompressed output by calling lzma_code with LZMA_FINISH until liblzma reports LZMA_STREAM_END. If end-of-stream is never reached the input is reported as truncated.

Throws

CompressionError if called more than once, the output sink is

not set, or the compressed input appears truncated.