Lz4Decompressor.finish

void finish()

Signal end-of-input to the decompressor.

Finalizes incremental parsing and validates that the full frame was received (including optional content checksum).

Throws

- CompressionError with CompressionErrorCode.INVALID_INPUT if the

output sink has not been set.

  • CompressionError with CompressionErrorCode.CLOSED if called more than once.
  • CompressionErrorCode.TRUNCATED if the input stream ended mid-frame.