Solutions
Multiplatform
Server-side
Data science
Android
Docs
Community
Teach
Play
Playground
Examples
Koans
toggle menu
Kotlin libraries
1.8
2.1
2.0
1.9
1.8
1.7
1.6
1.5
1.4
1.3
1.2
1.1
1.0
Native
switch theme
search in API
kotlin-stdlib
/
kotlinx.cinterop
/
UShortVarOf
UShort
Var
Of
Native
class
UShortVarOf
<
T
:
UShort
>
(
rawPtr
:
NativePtr
)
:
CPrimitiveVar
(
source
)
Since Kotlin
1.3
Members
Members & Extensions
Constructors
UShort
Var
Of
Link copied to clipboard
Native
constructor
(
rawPtr
:
NativePtr
)
Types
Companion
Link copied to clipboard
Native
object
Companion
:
CPrimitiveVar.Type
Since Kotlin
1.3
Properties
raw
Ptr
Link copied to clipboard
Native
var
rawPtr
:
NativePtr
Since Kotlin
1.3
raw
Ptr
Link copied to clipboard
Native
val
NativePointed
?
.
rawPtr
:
NativePtr
Since Kotlin
1.3
value
Link copied to clipboard
Native
var
<
T
:
UShort
>
UShortVarOf
<
T
>
.
value
:
T
Since Kotlin
1.3
Functions
get
Raw
Pointer
Link copied to clipboard
Native
external
fun
NativePointed
.
getRawPointer
(
)
:
NativePtr
Since Kotlin
1.3
read
Value
Link copied to clipboard
Native
fun
<
T
:
CVariable
>
CPointed
.
readValue
(
size
:
Long
,
align
:
Int
)
:
CValue
<
T
>
Since Kotlin
1.3
read
Values
Link copied to clipboard
Native
fun
<
T
:
CVariable
>
CPointed
.
readValues
(
size
:
Int
,
align
:
Int
)
:
CValues
<
T
>
Since Kotlin
1.3
reinterpret
Link copied to clipboard
Native
inline
fun
<
T
:
NativePointed
>
NativePointed
.
reinterpret
(
)
:
T
Changes the interpretation of the pointed data or code.
Since Kotlin
1.3
Thanks for your feedback!
Was this page helpful?
Yes
No
How can we improve?
Enter your name and email address if you would like to receive a follow-up message or
contact our support
.
By submitting this form, I agree that JetBrains s.r.o. ("JetBrains") may use my name, email address, phone number, and country of residence to provide support. I agree that JetBrains may process said data using
third-party services
for this purpose in accordance with the
JetBrains Privacy Policy
.