abstract class CStructVar : CVariable
The C struct-typed variable located in memory.
open class Type : Type
The C struct-typed variable located in memory.
CStructVar(rawPtr: NativePtr)
Returns the pointer to this data or code.
val <T : CPointed> T.ptr: CPointer<T>
val NativePointed?.rawPtr: NativePtr
fun <T : CVariable> CStructVar.arrayMemberAt( offset: Long ): CArrayPointer<T>
fun NativePointed.getRawPointer(): NativePtr
Returns the member of this CStructVar which is located by given offset in bytes.
fun <T : CPointed> CStructVar.memberAt(offset: Long): T
fun <T : CStructVar> T.readValue(): CValue<T>
fun <T : CVariable> CPointed.readValue( size: Long, align: Int ): CValue<T>
fun <T : CVariable> CPointed.readValues( size: Int, align: Int ): CValues<T>
fun <T : CVariable> T.readValues(count: Int): CValues<T>
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlinx.cinterop/-c-struct-var/index.html