jvmMain.ag.granular.tiff.compression.zip.Inflater.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tiffany-jvm Show documentation
Show all versions of tiffany-jvm Show documentation
A library for parsing Tagged Image File Format (Tiff) files
The newest version!
package ag.granular.tiff.compression.zip
typealias JInflater = java.util.zip.Inflater
actual class Inflater {
private val ji = JInflater()
actual fun setInput(bytes: ByteArray) = ji.setInput(bytes)
actual fun finished(): Boolean = ji.finished()
actual fun inflate(buffer: ByteArray): Int = ji.inflate(buffer)
}