Method Overlaps
Overlaps<T>(ExSpan<T>, ReadOnlyExSpan<T>)
Determines whether two sequences overlap in memory.
public static bool Overlaps<T>(this ExSpan<T> span, ReadOnlyExSpan<T> other)
Parameters
spanExSpan<T>otherReadOnlyExSpan<T>
Returns
Type Parameters
T
Overlaps<T>(ExSpan<T>, ReadOnlyExSpan<T>, out int)
Determines whether two sequences overlap in memory and outputs the element offset.
public static bool Overlaps<T>(this ExSpan<T> span, ReadOnlyExSpan<T> other, out int elementOffset)
Parameters
spanExSpan<T>otherReadOnlyExSpan<T>elementOffsetint
Returns
Type Parameters
T
Overlaps<T>(ReadOnlyExSpan<T>, ReadOnlyExSpan<T>)
Determines whether two sequences overlap in memory.
public static bool Overlaps<T>(this ReadOnlyExSpan<T> span, ReadOnlyExSpan<T> other)
Parameters
spanReadOnlyExSpan<T>otherReadOnlyExSpan<T>
Returns
Type Parameters
T
Overlaps<T>(ReadOnlyExSpan<T>, ReadOnlyExSpan<T>, out int)
Determines whether two sequences overlap in memory and outputs the element offset.
public static bool Overlaps<T>(this ReadOnlyExSpan<T> span, ReadOnlyExSpan<T> other, out int elementOffset)
Parameters
spanReadOnlyExSpan<T>otherReadOnlyExSpan<T>elementOffsetint
Returns
Type Parameters
T