Companion

Properties

Link copied to clipboard
open override val elementSize: Long

Returns the size of an element.

Functions

Link copied to clipboard
actual fun <S : CloseableStruct> StructLayout<S>.allocateArray(count: Int, initialize: S.(Int) -> Unit): StructArray<S>?

Allocates a contiguous array, composed of count element of type S.

expect fun <S : CloseableStruct> StructLayout<S>.allocateArray(count: Int, initialize: S.(Int) -> Unit): StructArray<S>?

Allocates a contiguous array, composed of count element of type S.

actual fun <S : CloseableStruct> StructLayout<S>.allocateArray(count: Int, initialize: S.(Int) -> Unit): StructArray<S>?

Allocates a contiguous array, composed of count element of type S.

actual fun <S : CloseableStruct> StructLayout<S>.allocateArray(count: Int, initialize: S.(Int) -> Unit): StructArray<S>?

Allocates a contiguous array, composed of count element of type S.

actual fun <S : CloseableStruct> StructLayout<S>.allocateArray(count: Int, initialize: S.(Int) -> Unit): StructArray<S>?

Allocates a contiguous array, composed of count element of type S.