allocate

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

Allocates the most effective platform-specific memory.

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

Allocates memory based on a DataView.

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

Allocates memory based on a ByteBuffer.

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

Allocates the most effective platform-specific memory.

Sources

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard