CompressionError if called after finish() or the output sink
is not set, or on internal ZSTD errors.
void write(const(ubyte)[] data)Feed uncompressed data into the stream.
data | Raw bytes to compress. |
CompressionError if called after finish() or the output sink
is not set, or on internal ZSTD errors.