MemoryAllocator

WebAssembly linear memory allocator.

Since Kotlin

1.8

WebAssembly linear memory allocator.

Since Kotlin

1.8

Constructors

Link copied to clipboard
constructor()
constructor()

Functions

Link copied to clipboard
abstract fun allocate(size: Int): Pointer

Allocates a block of uninitialized linear memory of the given size in bytes.

Since Kotlin 1.8
abstract fun allocate(size: Int): Pointer

Allocates a block of uninitialized linear memory of the given size in bytes.

Since Kotlin 1.8