Method FromIntPtr
FromIntPtr(nint)
Creates a SequencePointerReadOnly from a memory address given as a nint.
Declaration
public static SequencePointerReadOnly FromIntPtr(nint value)
Parameters
| Type | Name | Description |
|---|---|---|
| nint | value | The memory address to create a SequencePointerReadOnly from. |
Returns
| Type | Description |
|---|---|
| SequencePointerReadOnly | A SequencePointerReadOnly 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 |
|