Show / Hide Table of Contents

Struct ChunkSequence<T>.Enumerator

Represents enumerator of memory chunks.

Implements
IEnumerator<ReadOnlyMemory<T>>
Namespace: DotNext.Buffers
Assembly: DotNext.dll
Syntax
public struct Enumerator : IEnumerator<ReadOnlyMemory<T>>

Properties

| Improve this Doc View Source

Current

Gets currently iterating memory segment.

Declaration
public ReadOnlyMemory<T> Current { get; }
Property Value
Type Description
ReadOnlyMemory<T>

Methods

| Improve this Doc View Source

MoveNext()

Moves to the next memory segment.

Declaration
public bool MoveNext()
Returns
Type Description
Boolean

true if the next segment exists; otherwise, langword_csharp_langword.

| Improve this Doc View Source

Reset()

Resets enumerator to its initial state.

Declaration
public void Reset()

Implements

IEnumerator<>

Extension Methods

ExpressionBuilder.Const<T>(T)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX