inflate

fun ByteArray.inflate(nowrap: Boolean = false, bufferSize: Int = 32 * 1024): Try<ByteArray, DataFormatException>

Inflates a ZIP-compressed ByteArray.

Parameters

nowrap

If true then support GZIP compatible compression, see the documentation of Inflater