/// <summary> /// Checks to see if two spans point at the same memory. Note that /// this does *not* check to see if the *contents* are equal. /// </summary> public bool Equals(ReadOnlySpan <T> other) { return((_length == other.Length) && (_length == 0 || Unsafe.AreSame(ref GetRawPointer(), ref other.GetRawPointer()))); }