LzmaDecompressor.write

void write(const(ubyte)[] data)

Feed compressed data into the stream.

Concatenated .xz streams are supported: after a complete stream is decompressed, any remaining bytes in the input are processed as the start of the next stream. Trailing garbage that does not form a valid .xz stream will cause a CompressionError either immediately (if the bytes are not a valid stream header) or at finish() time (reported as ErrorCode.TRUNCATED).

Parameters

dataCompressed bytes to feed into the decompressor.

Throws

CompressionError on invalid compressed data, or if called after

finish().