Struct Pointer<T>.Enumerator
Represents enumerator over raw memory.
Implements
Inherited Members
Namespace: DotNext.Runtime.InteropServices
Assembly: DotNext.Unsafe.dll
Syntax
public struct Pointer<T>.Enumerator : IEnumerator<Pointer<T>.Enumerator, T>
Properties
| Edit this page View SourceCurrent
Current element.
Declaration
public readonly T Current { get; }
Property Value
Type | Description |
---|---|
T |
Pointer
Pointer to the currently enumerating element.
Declaration
public readonly Pointer<T> Pointer { get; }
Property Value
Type | Description |
---|---|
Pointer<T> |
Methods
| Edit this page 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()