BuffersExtensions.CopyTo<T> 方法

定义

ReadOnlySequence<T> 复制到所指定的 Span<T>

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static void CopyTo(System::Buffers::ReadOnlySequence<T> % source, Span<T> destination);
public static void CopyTo<T> (this in System.Buffers.ReadOnlySequence<T> source, Span<T> destination);
static member CopyTo : ReadOnlySequence * Span<'T> -> unit
<Extension()>
Public Sub CopyTo(Of T) (ByRef source As ReadOnlySequence(Of T), destination As Span(Of T))

类型参数

T

ReadOnlySequence<T>项的类型。

参数

destination
Span<T>

目标 Span<T>

适用于