Method FromRaw
FromRaw(void*)
Creates a SequencePointerUninitialized from a raw pointer.
Declaration
public static SequencePointerUninitialized FromRaw(void* raw)
Parameters
| Type | Name | Description |
|---|---|---|
| void* | raw | The raw pointer specifying the contiguous target sequence that the resulting SequencePointerUninitialized will point to. |
Returns
| Type | Description |
|---|---|
| SequencePointerUninitialized | A SequencePointerUninitialized 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 SequencePointerUninitialized will point to the same contiguous target sequence as raw.
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|
FromRaw<T>(T*)
Creates a SequencePointerUninitialized<T> from a raw pointer.
Declaration
public static SequencePointerUninitialized<T> FromRaw<T>(T* raw) where T : unmanaged, allows ref struct
Parameters
| Type | Name | Description |
|---|---|---|
| T* | raw | The raw pointer specifying the contiguous target sequence that the resulting SequencePointerUninitialized<T> will point to. |
Returns
| Type | Description |
|---|---|
| SequencePointerUninitialized<T> | A SequencePointerUninitialized<T> that points to the same contiguous target sequence as the specified |
Type Parameters
| Name | Description |
|---|---|
| T | The type of the target that the resulting SequencePointerUninitialized<T> will point to. |
Remarks
The raw pointer must not be null. If it is, an ArgumentNullException will be thrown.
The resulting SequencePointerUninitialized<T> will point to the same contiguous target sequence as raw.
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|