BuffersExtensions

BuffersExtensions class

Provides extension-style helper methods for working with buffers.

class BuffersExtensions

Methods

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

See Also