Lz4Decompressor.emitDecodedChunk

private void emitDecodedChunk(const(ubyte)[] chunk)

Emit decoded bytes to the output sink while enforcing size limits.

Parameters

chunkDecompressed bytes to emit.

Throws

- CompressionErrorCode.MEMORY_ERROR when maxOutputSize would be exceeded.
  • CompressionErrorCode.DATA_ERROR when the decoded stream exceeds the frame-declared content size.