CPrimitiveVar

Native
1.3
sealed class CPrimitiveVar : CVariable

The C primitive-typed variable located in memory.

Types

Native
1.3

Type

open class Type : Type

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

getRawPointer

fun NativePointed.getRawPointer(): NativePtr
Native
1.3

readValue

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>

Inheritors

Native
1.3

BooleanVarOf

class BooleanVarOf<T : Boolean> : CPrimitiveVar
Native
1.3

ByteVarOf

class ByteVarOf<T : Byte> : CPrimitiveVar
Native
1.3

CEnumVar

abstract class CEnumVar : CPrimitiveVar
Native
1.3

DoubleVarOf

class DoubleVarOf<T : Double> : CPrimitiveVar
Native
1.3

FloatVarOf

class FloatVarOf<T : Float> : CPrimitiveVar
Native
1.3

IntVarOf

class IntVarOf<T : Int> : CPrimitiveVar
Native
1.3

LongVarOf

class LongVarOf<T : Long> : CPrimitiveVar
Native
1.3

ShortVarOf

class ShortVarOf<T : Short> : CPrimitiveVar
Native
1.3

UByteVarOf

class UByteVarOf<T : UByte> : CPrimitiveVar
Native
1.3

UIntVarOf

class UIntVarOf<T : UInt> : CPrimitiveVar
Native
1.3

ULongVarOf

class ULongVarOf<T : ULong> : CPrimitiveVar
Native
1.3

UShortVarOf

class UShortVarOf<T : UShort> : CPrimitiveVar