BuffersExtensions.CopyTo<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- source
- ReadOnlySequence<T>
The source ReadOnlySequence<T>.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.