Method FromIntPtr
FromIntPtr(nint)
Creates a PersistentSequencePointerReadOnly<T> from a memory address given as a nint.
Declaration
public static PersistentSequencePointerReadOnly<T> FromIntPtr(nint value)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | value | The memory address to create a PersistentSequencePointerReadOnly<T> from. |
Returns
| Type | Description |
|---|---|
| PersistentSequencePointerReadOnly<T> | A PersistentSequencePointerReadOnly<T> that points to the same memory address as the specified |
Implements
Remarks
The value must not be 0. If it is, an ArgumentNullException will be thrown.
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|