NativePtr Module
Contains operations on native pointers. Use of these operators may result in the generation of unverifiable code.
Functions and values
Function or value |
Description
|
|
|
Full Usage:
NativePtr.clear address
Parameters:
nativeptr<'T>
-
The input pointer.
Modifiers: inline Type parameters: 'T |
Clears the value stored at the location of a given native pointer.
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
NativePtr.nullPtr
Returns: nativeptr<'T>
The null native pointer.
Modifiers: inline Type parameters: 'T |
Gets the null native pointer.
|
|
|
|
|
|
|
Full Usage:
NativePtr.read address
Parameters:
nativeptr<'T>
-
The input pointer.
Returns: 'T
The value at the pointer address.
Modifiers: inline Type parameters: 'T |
Dereferences the given typed native pointer.
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
NativePtr.write address value
Parameters:
nativeptr<'T>
-
The input pointer.
value : 'T
-
The value to assign.
Modifiers: inline Type parameters: 'T |
Assigns the
|