StructLayout

actual abstract class StructLayout<S : CloseableStruct> : StructLayoutBase<S> (source)

Inheritors

expect abstract class StructLayout<S : CloseableStruct> : StructLayoutBase<S> (source)

Inheritors

actual abstract class StructLayout<S : CloseableStruct> : StructLayoutBase<S> (source)

Inheritors

actual abstract class StructLayout<S : CloseableStruct> : StructLayoutBase<S> (source)

Inheritors

actual abstract class StructLayout<S : CloseableStruct> : StructLayoutBase<S> (source)

Inheritors

Properties

Link copied to clipboard
abstract 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.