Companion

object Companion

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
toString
Link copied to clipboard
common
open fun toString(): String

Extensions

allocate
Link copied to clipboard
common
fun Memory.Companion.allocate(length: Int): Memory
Allocates the most effective platform-specific memory.
js
fun Memory.Companion.allocate(length: Int): Memory
Allocates memory based on a DataView.
fun Memory.Companion.allocate(length: Int): Memory
Allocates memory based on a ByteBuffer.
native
fun Memory.Companion.allocate(length: Int): Memory
Allocates the most effective platform-specific memory.
wrap
Link copied to clipboard
common
fun Memory.Companion.wrap(array: ByteArray): Memory
Wraps a Memory around existing ByteArray.
js
fun Memory.Companion.wrap(array: ByteArray): Memory
Wraps a Memory around existing ByteArray.
fun Memory.Companion.wrap(array: ByteArray): Memory
Wraps a Memory around existing ByteArray.
native
fun Memory.Companion.wrap(array: ByteArray): Memory
Wraps a Memory around existing ByteArray.