allocate

expect fun Memory.Companion.allocate(length: Int): Memory(source)

Allocates the most effective platform-specific memory.

actual fun Memory.Companion.allocate(length: Int): Memory(source)

Allocates memory based on a DataView.

actual fun Memory.Companion.allocate(length: Int): Memory(source)

Allocates memory based on a ByteBuffer.

actual fun Memory.Companion.allocate(length: Int): Memory(source)

Allocates the most effective platform-specific memory.

actual fun Memory.Companion.allocate(length: Int): Memory(source)

Allocates memory based on a DataView.