Adjust usage of Pako library once Kotlin Bug is fixed #22
Labels
bug
Something isn't working
component: watermarker
Watermarker Library
dependencies
Software dependencies
on hold
Further work is currently on hold or blocked by external factors
🐞 Bug Report
Describe the Bug
The current implementation of the watermarker library has a workaround implemented to prevent a crash caused by a bug in Kotlin. This workaround should be removed once the bug is fixed in Kotlin.
Additional Context
Adjust the usage of the Pako library in
jsMain/kotlin/helper/Compression.kt
as follows as soon as this bug is fixed:external object Pako
should change:fun deflateRaw(data: IntArray, options: Any? = definedExternally): IntArray
->fun deflateRaw(data: UByteArray, options: Any? = definedExternally): UByteArray
fun inflateRaw(data: IntArray, options: Any? = definedExternally): IntArray
->fun inflateRaw(data: UByteArray, options: Any? = definedExternally): UByteArray
Compression.{inflate, deflate}
must be changed accordinglyThe text was updated successfully, but these errors were encountered: