CStructVar

Native
1.3
abstract class CStructVar : CVariable
(source)

The C struct-typed variable located in memory.

Types

Native
1.3

Type

open class Type : Type

Constructors

Native
1.3

<init>

The C struct-typed variable located in memory.

CStructVar ( rawPtr : NativePtr )

Extension Properties

Native
1.3

ptr

Returns the pointer to this data or code.

val < T : CPointed > T . ptr : CPointer < T >
Native
1.3

rawPtr

Extension Functions

Native
1.3

arrayMemberAt

fun < T : CVariable > CStructVar . arrayMemberAt (
offset : Long
) : CArrayPointer < T >
Native
1.3

getRawPointer

fun NativePointed . getRawPointer ( ) : NativePtr
Native
1.3

memberAt

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

fun < T : CPointed > CStructVar . memberAt ( offset : Long ) : T
Native
1.3

readValue

fun < T : CStructVar > T . readValue ( ) : CValue < T >
fun < T : CVariable > CPointed . readValue (
size : Long ,
align : Int
) : CValue < T >
Native
1.3

readValues

fun < T : CVariable > CPointed . readValues (
size : Int ,
align : Int
) : CValues < T >
fun < T : CVariable > T . readValues ( count : Int ) : CValues < T >