CompressionError with ErrorCode.CLOSED if called after
finish.
CompressionErrorwithErrorCode.INVALID_INPUTif the
output sink has not been set.
void write(const(ubyte)[] data)Feed more compressed data into the decompressor.
The current implementation buffers all compressed data written via this method and, upon finish, decodes it as a single LZ4 block using lz4DecompressBlock. This matches the behaviour of Lz4Compressor, which currently emits a single LZ4 block at finish.
data | Compressed input bytes. |
CompressionError with ErrorCode.CLOSED if called after
finish.
CompressionError with ErrorCode.INVALID_INPUT if theoutput sink has not been set.