Bewerken

Delen via


SequenceReader<T>(ReadOnlySequence<T>) Constructor

Definition

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

public:
 SequenceReader(System::Buffers::ReadOnlySequence<T> sequence);
public SequenceReader (System.Buffers.ReadOnlySequence<T> sequence);
new System.Buffers.SequenceReader<'T (requires 'T : struct)> : System.Buffers.ReadOnlySequence<'T (requires 'T : struct)> -> System.Buffers.SequenceReader<'T (requires 'T : struct)>
Public Sub New (sequence As ReadOnlySequence(Of T))

Parameters

sequence
ReadOnlySequence<T>

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

Applies to