allocate

abstract fun allocate(size: Int): Pointer(source)

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

Since Kotlin

1.8

Return

an address of allocated memory. It is guaranteed to be a multiple of 8.

abstract fun allocate(size: Int): Pointer(source)

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

Since Kotlin

1.8

Return

an address of allocated memory. It is guaranteed to be a multiple of 8.