System::Buffers::BuffersExtensions class

BuffersExtensions class

Provides extension-style helper methods for working with buffers.

class BuffersExtensions

Methods

MethodDescription
static CopyTo(const ReadOnlySequence<T>&, Span<T>)Copies the elements of the given ReadOnlySequence to the destination span.
static ToArray(const ReadOnlySequence<T>&)Copies the elements of the given ReadOnlySequence to a newly allocated array.

See Also