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