ZstdDecompressor.write

void write(const(ubyte)[] data)

Feed compressed data into the stream.

Concatenated zstd frames are supported: after a complete frame is decompressed, any remaining bytes in the input are processed as the start of the next frame. Trailing garbage that does not form a valid zstd frame will cause a CompressionError either immediately (if the bytes are not a valid frame 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().