Function UnsafeSpan.RemoveAt

RemoveAt (refUnsafeSpan<T> span, int index)

Removes an element from a span, reducing its length by one.

Public Static
void RemoveAt (

refUnsafeSpan<T>

span

int

index

)

Removes an element from a span, reducing its length by one.

This is done by moving all elements after the index one step back.

The underlaying allocation is not resized, only the length field is changed.