DotNext by Roman Sakno

<PackageReference Include="DotNext" Version="0.12.0" />

 ChunkSequence<T>

Represents sequence of memory chunks.

Represents enumerator of memory chunks.

public ChunkSequence(ReadOnlyMemory<T> memory, int chunkSize)

Initializes a split view over contiguous memory.

public static ReadOnlySequence<T> op_Explicit(ChunkSequence<T> sequence)

Converts this instance into ReadOnlySequence<T>.

Gets enumerator over memory chunks.

Converts this instance into ReadOnlySequence<T>.