CStructVar

abstract class CStructVar(rawPtr: NativePtr) : CVariable(source)

The C struct-typed variable located in memory.

Since Kotlin

1.3

Constructors

Link copied to clipboard
constructor(rawPtr: NativePtr)

Types

Link copied to clipboard
open class Type(val size: Long, val align: Int) : CVariable.Type
Since Kotlin 1.3

Properties

Link copied to clipboard
Since Kotlin 1.3
Link copied to clipboard
Since Kotlin 1.3

Functions

Link copied to clipboard
Since Kotlin 1.3
Link copied to clipboard
Since Kotlin 1.3
Link copied to clipboard
inline fun <T : CPointed> CStructVar.memberAt(offset: Long): T

Returns the member of this CStructVar which is located by given offset in bytes.

Since Kotlin 1.3
Link copied to clipboard
fun <T : CVariable> CPointed.readValue(size: Long, align: Int): CValue<T>
Since Kotlin 1.3
Link copied to clipboard
fun <T : CVariable> CPointed.readValues(size: Int, align: Int): CValues<T>
Since Kotlin 1.3
Link copied to clipboard

Changes the interpretation of the pointed data or code.

Since Kotlin 1.3