Method FromRaw
FromRaw(T*)
Creates a PersistentSequencePointer<T> from a raw pointer.
Declaration
public static PersistentSequencePointer<T> FromRaw(T* raw)
Parameters
| Type | Name | Description |
|---|---|---|
| T* | raw | The raw pointer specifying the contiguous target sequence that the resulting PersistentSequencePointer<T> will point to. |
Returns
| Type | Description |
|---|---|
| PersistentSequencePointer<T> | A PersistentSequencePointer<T> that points to the same contiguous target sequence as the specified |
Implements
Remarks
The raw pointer must not be null. If it is, an ArgumentNullException will be thrown.
The resulting PersistentSequencePointer<T> will point to the same contiguous target sequence as raw.
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|