SequenceReader<T>(ReadOnlySequence<T>) Constructor

Definition

Creates a SequenceReader<T> over a given ReadOnlySequence<T>.

public SequenceReader (System.Buffers.ReadOnlySequence<T> sequence);

Parameters

sequence
ReadOnlySequence<T>

The read-only sequence over which to create the SequenceReader<T>.

Applies to

Product Versions
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Standard 2.1