NOTE: liblzma supports compressing/decompressing multiple xz streams. In the future the LzmaWriter API could be enhanced with a finish_and_continue method which finishes the current stream and then starts handling the next stream. Or something like that.
Using
LzmaWriter
after callingfinish
is not a currently supported feature, so havefinish
consumeself
instead of&self
.Credits to krdln for the feedback.
NOTE: liblzma supports compressing/decompressing multiple xz streams. In the future the LzmaWriter API could be enhanced with a
finish_and_continue
method which finishes the current stream and then starts handling the next stream. Or something like that.