decode

fun decode(input: ByteArray, verifyChecksum: Boolean = true, maxOutputBytes: Int = Int.MAX_VALUE): ByteArray

Unwrap and inflate a zlib stream. maxOutputBytes caps the decoded size (see Inflate.decode); exceeding it throws InflateException.