Partilhar via


BuffersExtensions.CopyTo<T> Método

Definição

Copia o ReadOnlySequence<T> para o Span<T> especificado.

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))

Parâmetros de tipo

T

O tipo dos itens no ReadOnlySequence<T>.

Parâmetros

destination
Span<T>

O Span<T> de destino.

Aplica-se a