InflateException

class InflateException(message: String, cause: Throwable? = null)

Pure-Kotlin RFC 1951 DEFLATE inflater.

No dependencies on java.util.zip — runs on every Kotlin target (JVM, Native, JS, Wasm). Implements stored, fixed Huffman, and dynamic Huffman block types with LZ77 (32KB window).

Throws InflateException on malformed input. Not thread-safe; create one per stream.

Constructors

Link copied to clipboard
constructor(message: String, cause: Throwable? = null)