This commit is contained in:
2024-06-29 20:01:35 +02:00
parent 7fb93bd08b
commit 8d529b0a45

View File

@@ -0,0 +1,7 @@
package nl.astraeus.vst.ui.util
import org.khronos.webgl.Uint8Array
fun uInt8ArrayOf(vararg values: Int): Uint8Array {
return Uint8Array(values.map { it.toByte() }.toTypedArray())
}