Table of Contents

Write Method

Write<TState>(int, TState, SpanWriter<TState>)

public void Write<TState>(int index, TState state, SpanList<T>.SpanWriter<TState> writer)

Parameters

index int
state TState
writer SpanList<T>.SpanWriter<TState>

Note that returned length must be less than or equal to capacity at the index.

int SpanWriter<TState>(Span<T>, TState);

Type Parameters

TState

Exceptions

IndexOutOfRangeException