Class SpanExtensions

Public

Public Static Methods

Converts a NativeArray to a span, assuming it will only be read.

AsUnsafeSpan (...)

Converts a...

Converts a NativeArray to a span without performing any checks.

Contains<T> (span, value)

Returns true if the value exists in the span.

CopyFrom (span, ...)

Copies the contents of a...

Fill<T> (span, value)
FillZeros<T> (span)
IndexOf<T> (span, value)

Returns the index of the first occurrence of a value in the span.

InsertRange<T> (list, index, count)

Shifts elements toward the end of this list, increasing its length.

Sort (span, [comp])

Sorts the span in ascending order.