Returns an empty Span<T> object.
IsEmptyReturns a value that indicates whether the current Span<T> is empty.
Item[Int32]Gets the element at the specified zero-based index.
LengthReturns the length of the current span.
ToImmutableArray<T>(Span<T>)Converts the span to an immutable array.
BinarySearch<T>(Span<T>, IComparable<T>)Searches an entire sorted Span<T> for a value using the specified IComparable<T> generic interface.
BinarySearch<T,TComparer>(Span<T>, T, TComparer)Searches an entire sorted Span<T> for a specified value using the specified TComparer
generic type.
Searches an entire sorted Span<T> for a value using the specified TComparable
generic type.
Finds the length of any common prefix shared between span
and other
.
Finds the length of any common prefix shared between span
and other
.
Indicates whether a specified value is found in a span. Values are compared using IEquatable{T}.Equals(T).
ContainsAny<T>(Span<T>, T, T, T)Searches for an occurrence of value0
, value1
, or value2
, and returns true
if found. If not found, returns false
.
Searches for an occurrence of value0
or value1
, and returns true
if found. If not found, returns false
.
Searches for an occurrence of any of the specified values
and returns true
if found. If not found, returns false
.
Searches for an occurrence of any of the specified values
and returns true
if found. If not found, returns false
.
Searches for any value other than value0
, value1
, or value2
.
Searches for any value other than value0
or value1
.
Searches for any value other than the specified value
.
Searches for any value other than the specified values
.
Searches for any value other than the specified values
.
Searches for any value outside of the range between lowInclusive
and highInclusive
, inclusive.
Searches for any value in the range between lowInclusive
and highInclusive
, inclusive, and returns true
if found. If not found, returns false
.
Counts the number of times the specified value
occurs in the span
.
Counts the number of times the specified value
occurs in the span
.
Determines whether the specified sequence appears at the end of a span.
IndexOf<T>(Span<T>, T)Searches for the specified value and returns the index of its first occurrence. Values are compared using IEquatable{T}.Equals(T).
IndexOf<T>(Span<T>, ReadOnlySpan<T>)Searches for the specified sequence and returns the index of its first occurrence. Values are compared using IEquatable{T}.Equals(T).
IndexOfAny<T>(Span<T>, T, T, T)Searches for the first index of any of the specified values similar to calling IndexOf several times with the logical OR operator.
IndexOfAny<T>(Span<T>, T, T)Searches for the first index of any of the specified values similar to calling IndexOf several times with the logical OR operator.
IndexOfAny<T>(Span<T>, SearchValues<T>)Searches for the first index of any of the specified values.
IndexOfAny<T>(Span<T>, ReadOnlySpan<T>)Searches for the first index of any of the specified values similar to calling IndexOf several times with the logical OR operator.
IndexOfAnyExcept<T>(Span<T>, T, T, T)Searches for the first index of any value other than the specified value0
, value1
, or value2
.
Searches for the first index of any value other than the specified value0
or value1
.
Searches for the first index of any value other than the specified value
.
Searches for the first index of any value other than the specified values
.
Searches for the first index of any value other than the specified values
.
Searches for the first index of any value outside of the range between lowInclusive
and highInclusive
, inclusive.
Searches for the first index of any value in the range between lowInclusive
and highInclusive
, inclusive.
Searches for the specified value and returns the index of its last occurrence. Values are compared using IEquatable{T}.Equals(T).
LastIndexOf<T>(Span<T>, ReadOnlySpan<T>)Searches for the specified sequence and returns the index of its last occurrence. Values are compared using IEquatable{T}.Equals(T).
LastIndexOfAny<T>(Span<T>, T, T, T)Searches for the last index of any of the specified values similar to calling LastIndexOf several times with the logical OR operator.
LastIndexOfAny<T>(Span<T>, T, T)Searches for the last index of any of the specified values similar to calling LastIndexOf several times with the logical OR operator.
LastIndexOfAny<T>(Span<T>, SearchValues<T>)Searches for the last index of any of the specified values.
LastIndexOfAny<T>(Span<T>, ReadOnlySpan<T>)Searches for the last index of any of the specified values similar to calling LastIndexOf several times with the logical OR operator.
LastIndexOfAnyExcept<T>(Span<T>, T, T, T)Searches for the last index of any value other than the specified value0
, value1
, or value2
.
Searches for the last index of any value other than the specified value0
or value1
.
Searches for the last index of any value other than the specified value
.
Searches for the last index of any value other than the specified values
.
Searches for the last index of any value other than the specified values
.
Searches for the last index of any value outside of the range between lowInclusive
and highInclusive
, inclusive.
Searches for the last index of any value in the range between lowInclusive
and highInclusive
, inclusive.
Determines whether a span and a read-only span overlap in memory and outputs the element offset.
Overlaps<T>(Span<T>, ReadOnlySpan<T>)Determines whether a span and a read-only span overlap in memory.
Replace<T>(Span<T>, T, T, IEqualityComparer<T>) Replace<T>(Span<T>, T, T)Replaces all occurrences of oldValue
with newValue
.
Reverses the sequence of the elements in the entire span.
SequenceCompareTo<T>(Span<T>, ReadOnlySpan<T>)Determines the relative order of a span and a read-only span by comparing the elements using IComparable{T}.CompareTo(T).
SequenceEqual<T>(Span<T>, ReadOnlySpan<T>, IEqualityComparer<T>)Determines whether two sequences are equal by comparing the elements using an IEqualityComparer<T>.
SequenceEqual<T>(Span<T>, ReadOnlySpan<T>)Determines whether a span and a read-only span are equal by comparing the elements using IEquatable{T}.Equals(T).
Sort<T>(Span<T>, Comparison<T>)Sorts the elements in the entire Span<T> using the specified Comparison<T>.
Sort<T>(Span<T>)Sorts the elements in the entire Span<T> using the IComparable<T> implementation of each element of the Span<T>.
Sort<T,TComparer>(Span<T>, TComparer)Sorts the elements in the entire Span<T> using the TComparer
.
Sorts a pair of spans (one containing the keys and the other containing the corresponding items) based on the keys in the first Span<T> using the specified comparison.
Sort<TKey,TValue>(Span<TKey>, Span<TValue>)Sorts a pair of spans (one containing the keys and the other containing the corresponding items) based on the keys in the first Span<T> using the IComparable<T> implementation of each key.
Sort<TKey,TValue,TComparer>(Span<TKey>, Span<TValue>, TComparer)Sorts a pair of spans (one containing the keys and the other containing the corresponding items) based on the keys in the first Span<T> using the specified comparer.
StartsWith<T>(Span<T>, ReadOnlySpan<T>)Determines whether a specified sequence appears at the start of a span.
Trim<T>(Span<T>, T)Removes all leading and trailing occurrences of a specified element from a span.
Trim<T>(Span<T>, ReadOnlySpan<T>)Removes all leading and trailing occurrences of a set of elements specified in a read-only span from a span.
TrimEnd<T>(Span<T>, T)Removes all trailing occurrences of a specified element from a span.
TrimEnd<T>(Span<T>, ReadOnlySpan<T>)Removes all trailing occurrences of a set of elements specified in a read-only span from a span.
TrimStart<T>(Span<T>, T)Removes all leading occurrences of a specified element from the span.
TrimStart<T>(Span<T>, ReadOnlySpan<T>)Removes all leading occurrences of a set of elements specified in a read-only span from the span.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4