Επεξεργασία

Κοινή χρήση μέσω


BuffersExtensions.CopyTo<T> Method

Definition

Copies the ReadOnlySequence<T> to the specified 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))

Type Parameters

T

The type of the items in the ReadOnlySequence<T>.

Parameters

destination
Span<T>

The destination Span<T>.

Applies to