Lz4Compressor.finish

void finish()

Finalise the compression stream.

After finish has been called, further write or flush calls will fail with CompressionErrorCode.CLOSED.

Throws

- CompressionError with CompressionErrorCode.INVALID_INPUT if the

output sink has not been set.

  • CompressionError with CompressionErrorCode.CLOSED if called more than once.