แก้ไข

แชร์ผ่าน


BuffersExtensions Class

Definition

Provides extension methods for ReadOnlySequence<T>.

public ref class BuffersExtensions abstract sealed
public static class BuffersExtensions
type BuffersExtensions = class
Public Module BuffersExtensions
Inheritance
BuffersExtensions

Methods

CopyTo<T>(ReadOnlySequence<T>, Span<T>)

Copies the ReadOnlySequence<T> to the specified Span<T>.

PositionOf<T>(ReadOnlySequence<T>, T)

Returns the position of the first occurrence of item in the ReadOnlySequence<T>.

ToArray<T>(ReadOnlySequence<T>)

Converts the ReadOnlySequence<T> to an array.

Write<T>(IBufferWriter<T>, ReadOnlySpan<T>)

Writes the contents of value to writer.

Applies to