Method FromUIntPtr
| Edit this page View SourceFromUIntPtr(nuint)
Creates a TSelf from a memory address given as an nint.
Declaration
public static TSelf FromUIntPtr(nuint value)
Parameters
| Type | Name | Description |
|---|---|---|
| nuint | value | The memory address to create a |
Returns
| Type | Description |
|---|---|
| TSelf | A |
Remarks
If TSelf represents a non-nullable pointer type, then the value pointer must not be 0. Otherwise, an ArgumentNullException will be thrown.
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|