JvmSpzInflater

class JvmSpzInflater : SpzInflater

JVM + Android SpzInflater backed by GZIPInputStream. Pre-sizes the output from the GZIP trailer's ISIZE field (avoiding the BAOS internal-buffer + final-copy alloc), with a growable fallback when ISIZE is unusable.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun inflate(bytes: ByteArray): ByteArray

Inflate a gzip stream. Implementations decompress bytes and return the inflated payload. May throw on malformed inputs — the loader treats throws as parse failures and the tile transitions to FAILED state.