Table of Contents

SpanList Constructor

SpanList(T[]?, int, ReadOnlySpan<T>, ReadOnlySpan<T>, ReadOnlySpan<T>, ReadOnlySpan<T>, ReadOnlySpan<T>, ReadOnlySpan<T>, ReadOnlySpan<T>, ReadOnlySpan<T>, ReadOnlySpan<T>, ReadOnlySpan<T>)

public SpanList(T[]? buffer, int count, ReadOnlySpan<T> ros0 = default, ReadOnlySpan<T> ros1 = default, ReadOnlySpan<T> ros2 = default, ReadOnlySpan<T> ros3 = default, ReadOnlySpan<T> ros4 = default, ReadOnlySpan<T> ros5 = default, ReadOnlySpan<T> ros6 = default, ReadOnlySpan<T> ros7 = default, ReadOnlySpan<T> ros8 = default, ReadOnlySpan<T> ros9 = default)

Parameters

buffer T[]

Use existing buffer instead of allocating new array.

Tip

Recommend use Transient() that automatically manages array pool buffer with using statement.

count int

Number of input ReadOnlySpan<T> sources.

ros0 ReadOnlySpan<T>
ros1 ReadOnlySpan<T>
ros2 ReadOnlySpan<T>
ros3 ReadOnlySpan<T>
ros4 ReadOnlySpan<T>
ros5 ReadOnlySpan<T>
ros6 ReadOnlySpan<T>
ros7 ReadOnlySpan<T>
ros8 ReadOnlySpan<T>
ros9 ReadOnlySpan<T>

SpanList(T[]?, params IEnumerable<T>[]?)

public SpanList(T[]? buffer, params IEnumerable<T>[]? sources)

Parameters

buffer T[]

Use existing buffer instead of allocating new array.

Tip

Recommend use Transient() that automatically manages array pool buffer with using statement.

sources IEnumerable<T>[]

SpanList(T[]?, IEnumerable<IEnumerable<T>>?)

public SpanList(T[]? buffer, IEnumerable<IEnumerable<T>>? sources)

Parameters

buffer T[]

Use existing buffer instead of allocating new array.

Tip

Recommend use Transient() that automatically manages array pool buffer with using statement.

sources IEnumerable<IEnumerable<T>>