Struct Pointer<T>.Enumerator
Represents enumerator over raw memory.
Inherited Members
Namespace: DotNext.Runtime.InteropServices
Assembly: DotNext.Unsafe.dll
Syntax
public struct Pointer<T>.Enumerator : IEnumerator<Pointer<T>.Enumerator, T>, IResettable
Properties
View SourceCurrent
Gets the current element.
Declaration
public readonly ref T Current { get; }
Property Value
| Type | Description |
|---|---|
| T |
Methods
View SourceMoveNext()
Adjust pointer.
Declaration
public bool MoveNext()
Returns
| Type | Description |
|---|---|
| bool | true, if next element is available; false, if end of sequence reached. |
Reset()
Sets the enumerator to its initial position.
Declaration
public void Reset()