CompressionError with CompressionErrorCode.CLOSED if called after
finish.
CompressionErrorwithCompressionErrorCode.INVALID_INPUTif the output sink has not been set.
void write(const(ubyte)[] data)Feed more uncompressed data into the compressor.
Data is buffered only until enough input is available to emit the next frame block. Completed blocks are serialized immediately, so memory usage stays bounded by roughly one target block plus append slack.
data | Uncompressed input bytes. |
CompressionError with CompressionErrorCode.CLOSED if called after
finish.
CompressionError with CompressionErrorCode.INVALID_INPUT if the output sink has not been set.