SequenceReader<T>(ReadOnlySequence<T>) 构造函数

定义

根据给定 ReadOnlySequence<T> 创建 SequenceReader<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))

参数

sequence
ReadOnlySequence<T>

用于创建 SequenceReader<T> 的只读序列。

适用于