WASMLib

actual open class WASMLib(content: ByteArray) : IWASMLib
expect open class WASMLib(content: ByteArray) : IWASMLib
actual open class WASMLib(content: ByteArray) : IWASMLib
actual open class WASMLib(content: ByteArray) : IWASMLib
actual open class WASMLib(content: ByteArray) : IWASMLib

Constructors

Link copied to clipboard
actual constructor(content: ByteArray)
expect constructor(content: ByteArray)
actual constructor(content: ByteArray)
actual constructor(content: ByteArray)
actual constructor(content: ByteArray)

Properties

Link copied to clipboard
open override val content: ByteArray
abstract val content: ByteArray
open override val content: ByteArray
open override val content: ByteArray
open override val content: ByteArray
Link copied to clipboard
open override val isAvailable: Boolean
open override val isAvailable: Boolean
open override val isAvailable: Boolean
open override val isAvailable: Boolean

Functions

Link copied to clipboard
open override fun allocBytes(bytes: ByteArray): Int
open override fun allocBytes(size: Int): Int
open fun allocBytes(bytes: ByteArray): Int
open fun allocBytes(size: Int): Int
open override fun allocBytes(bytes: ByteArray): Int
open override fun allocBytes(size: Int): Int
open override fun allocBytes(bytes: ByteArray): Int
open override fun allocBytes(size: Int): Int
open override fun allocBytes(bytes: ByteArray): Int
open override fun allocBytes(size: Int): Int
Link copied to clipboard
close
Link copied to clipboard
open override fun close()
expect abstract fun close()
open override fun close()
open override fun close()
open override fun close()
Link copied to clipboard
Link copied to clipboard
open override fun freeBytes(vararg ptrs: Int)
open fun freeBytes(vararg ptrs: Int)
open override fun freeBytes(vararg ptrs: Int)
open override fun freeBytes(vararg ptrs: Int)
open override fun freeBytes(vararg ptrs: Int)
Link copied to clipboard
open override fun initOnce(context: CoroutineContext)
open fun initOnce(context: CoroutineContext)
open override fun initOnce(context: CoroutineContext)
open override fun initOnce(context: CoroutineContext)
open override fun initOnce(context: CoroutineContext)
Link copied to clipboard
open override fun invokeFunc(name: String, vararg params: Any?): Any?
open fun invokeFunc(name: String, vararg params: Any?): Any?
open override fun invokeFunc(name: String, vararg params: Any?): Any?
open override fun invokeFunc(name: String, vararg params: Any?): Any?
open override fun invokeFunc(name: String, vararg params: Any?): Any?
Link copied to clipboard
open override fun invokeFuncFloat(name: String, vararg params: Any?): Float
open fun invokeFuncFloat(name: String, vararg params: Any?): Float
open override fun invokeFuncFloat(name: String, vararg params: Any?): Float
open override fun invokeFuncFloat(name: String, vararg params: Any?): Float
open override fun invokeFuncFloat(name: String, vararg params: Any?): Float
Link copied to clipboard
open override fun invokeFuncIndirect(address: Int, vararg params: Any?): Any?
open fun invokeFuncIndirect(address: Int, vararg params: Any?): Any?
open override fun invokeFuncIndirect(address: Int, vararg params: Any?): Any?
open override fun invokeFuncIndirect(address: Int, vararg params: Any?): Any?
open override fun invokeFuncIndirect(address: Int, vararg params: Any?): Any?
Link copied to clipboard
open override fun invokeFuncInt(name: String, vararg params: Any?): Int
open fun invokeFuncInt(name: String, vararg params: Any?): Int
open override fun invokeFuncInt(name: String, vararg params: Any?): Int
open override fun invokeFuncInt(name: String, vararg params: Any?): Int
open override fun invokeFuncInt(name: String, vararg params: Any?): Int
Link copied to clipboard
open override fun invokeFuncUnit(name: String, vararg params: Any?)
open fun invokeFuncUnit(name: String, vararg params: Any?)
open override fun invokeFuncUnit(name: String, vararg params: Any?)
open override fun invokeFuncUnit(name: String, vararg params: Any?)
open override fun invokeFuncUnit(name: String, vararg params: Any?)
Link copied to clipboard
open override fun readBytes(pos: Int, size: Int): ByteArray
open fun readBytes(pos: Int, size: Int): ByteArray
open override fun readBytes(pos: Int, size: Int): ByteArray
open override fun readBytes(pos: Int, size: Int): ByteArray
open override fun readBytes(pos: Int, size: Int): ByteArray
Link copied to clipboard
open override fun readInts(pos: Int, size: Int): IntArray
open fun readInts(pos: Int, size: Int): IntArray
open override fun readInts(pos: Int, size: Int): IntArray
open override fun readInts(pos: Int, size: Int): IntArray
open override fun readInts(pos: Int, size: Int): IntArray
Link copied to clipboard
open override fun readShorts(pos: Int, size: Int): ShortArray
open fun readShorts(pos: Int, size: Int): ShortArray
open override fun readShorts(pos: Int, size: Int): ShortArray
open override fun readShorts(pos: Int, size: Int): ShortArray
open override fun readShorts(pos: Int, size: Int): ShortArray
Link copied to clipboard
open override fun stackAlloc(size: Int): Int
open fun stackAlloc(size: Int): Int
open override fun stackAlloc(size: Int): Int
open override fun stackAlloc(size: Int): Int
open override fun stackAlloc(size: Int): Int
Link copied to clipboard
open override fun stackAllocAndWrite(bytes: ByteArray): Int
open override fun stackAllocAndWrite(data: IntArray): Int
open override fun stackAllocAndWrite(data: ShortArray): Int
open override fun stackAllocAndWrite(bytes: ByteArray): Int
open override fun stackAllocAndWrite(data: IntArray): Int
open override fun stackAllocAndWrite(data: ShortArray): Int
open override fun stackAllocAndWrite(bytes: ByteArray): Int
open override fun stackAllocAndWrite(data: IntArray): Int
open override fun stackAllocAndWrite(data: ShortArray): Int
open override fun stackAllocAndWrite(bytes: ByteArray): Int
open override fun stackAllocAndWrite(data: IntArray): Int
open override fun stackAllocAndWrite(data: ShortArray): Int
Link copied to clipboard
inline fun <T> IWASMLib.stackKeep(block: () -> T): T
Link copied to clipboard
open override fun stackRestore(ptr: Int)
open fun stackRestore(ptr: Int)
open override fun stackRestore(ptr: Int)
open override fun stackRestore(ptr: Int)
open override fun stackRestore(ptr: Int)
Link copied to clipboard
open override fun stackSave(): Int
open fun stackSave(): Int
open override fun stackSave(): Int
open override fun stackSave(): Int
open override fun stackSave(): Int
Link copied to clipboard
open override fun IntArray.toByteArray(): ByteArray
open override fun ShortArray.toByteArray(): ByteArray
open override fun IntArray.toByteArray(): ByteArray
open override fun ShortArray.toByteArray(): ByteArray
open override fun IntArray.toByteArray(): ByteArray
open override fun ShortArray.toByteArray(): ByteArray
open override fun IntArray.toByteArray(): ByteArray
open override fun ShortArray.toByteArray(): ByteArray
Link copied to clipboard
Link copied to clipboard
open override fun writeBytes(pos: Int, data: ByteArray)
open fun writeBytes(pos: Int, data: ByteArray)
open override fun writeBytes(pos: Int, data: ByteArray)
open override fun writeBytes(pos: Int, data: ByteArray)
open override fun writeBytes(pos: Int, data: ByteArray)
Link copied to clipboard
open override fun writeInts(pos: Int, data: IntArray)
open fun writeInts(pos: Int, data: IntArray)
open override fun writeInts(pos: Int, data: IntArray)
open override fun writeInts(pos: Int, data: IntArray)
open override fun writeInts(pos: Int, data: IntArray)
Link copied to clipboard
open override fun writeShorts(pos: Int, data: ShortArray)
open fun writeShorts(pos: Int, data: ShortArray)
open override fun writeShorts(pos: Int, data: ShortArray)
open override fun writeShorts(pos: Int, data: ShortArray)
open override fun writeShorts(pos: Int, data: ShortArray)