Inflate

object Inflate

Functions

Link copied to clipboard
fun decode(input: ByteArray, offset: Int = 0, length: Int = input.size - offset): ByteArray

One-shot: inflate the DEFLATE payload in input starting at offset for length bytes (defaults to the whole array). The offset/length window lets callers (e.g. the zlib wrapper) skip header/trailer bytes without slicing.