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
span
ExSpan<T>other
ReadOnlyExSpan<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
span
ExSpan<T>other
ReadOnlyExSpan<T>elementOffset
int
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
span
ReadOnlyExSpan<T>other
ReadOnlyExSpan<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
span
ReadOnlyExSpan<T>other
ReadOnlyExSpan<T>elementOffset
int
Returns
Type Parameters
T