ReadOnlySpan<T> ReadOnlySpan<T> ReadOnlySpan<T> Struct

Definition

generic <typename T>
public value class ReadOnlySpan
public struct ReadOnlySpan<T>
Public Structure ReadOnlySpan(Of T)
Type Parameters
T
Inheritance
ReadOnlySpan<T>ReadOnlySpan<T>ReadOnlySpan<T>

Constructors

ReadOnlySpan<T>(T[]) ReadOnlySpan<T>(T[]) ReadOnlySpan<T>(T[])
ReadOnlySpan<T>(Void*, Int32) ReadOnlySpan<T>(Void*, Int32) ReadOnlySpan<T>(Void*, Int32)
ReadOnlySpan<T>(T[], Int32) ReadOnlySpan<T>(T[], Int32) ReadOnlySpan<T>(T[], Int32)
ReadOnlySpan<T>(T[], Int32, Int32) ReadOnlySpan<T>(T[], Int32, Int32) ReadOnlySpan<T>(T[], Int32, Int32)

Properties

Empty Empty Empty
IsEmpty IsEmpty IsEmpty
Item[Int32] Item[Int32] Item[Int32]
Length Length Length

Methods

CopyTo(Span<T>) CopyTo(Span<T>) CopyTo(Span<T>)
DangerousCreate(Object, T, Int32) DangerousCreate(Object, T, Int32) DangerousCreate(Object, T, Int32)
DangerousGetPinnableReference() DangerousGetPinnableReference() DangerousGetPinnableReference()
Equals(Object) Equals(Object) Equals(Object)
GetEnumerator() GetEnumerator() GetEnumerator()
GetHashCode() GetHashCode() GetHashCode()
GetPinnableReference() GetPinnableReference() GetPinnableReference()
Slice(Int32) Slice(Int32) Slice(Int32)
Slice(Int32, Int32) Slice(Int32, Int32) Slice(Int32, Int32)
ToArray() ToArray() ToArray()
ToString() ToString() ToString()
TryCopyTo(Span<T>) TryCopyTo(Span<T>) TryCopyTo(Span<T>)

Operators

Equality(ReadOnlySpan<T>, ReadOnlySpan<T>) Equality(ReadOnlySpan<T>, ReadOnlySpan<T>) Equality(ReadOnlySpan<T>, ReadOnlySpan<T>)
Implicit(T[] to ReadOnlySpan<T>) Implicit(T[] to ReadOnlySpan<T>) Implicit(T[] to ReadOnlySpan<T>)
Implicit(ArraySegment<T> to ReadOnlySpan<T>) Implicit(ArraySegment<T> to ReadOnlySpan<T>) Implicit(ArraySegment<T> to ReadOnlySpan<T>)
Inequality(ReadOnlySpan<T>, ReadOnlySpan<T>) Inequality(ReadOnlySpan<T>, ReadOnlySpan<T>) Inequality(ReadOnlySpan<T>, ReadOnlySpan<T>)

Extension Methods

BinarySearch<T>(ReadOnlySpan<T>, IComparable<T>) BinarySearch<T>(ReadOnlySpan<T>, IComparable<T>) BinarySearch<T>(ReadOnlySpan<T>, IComparable<T>)
BinarySearch<T,TComparer>(ReadOnlySpan<T>, T, TComparer) BinarySearch<T,TComparer>(ReadOnlySpan<T>, T, TComparer) BinarySearch<T,TComparer>(ReadOnlySpan<T>, T, TComparer)
BinarySearch<T,TComparable>(ReadOnlySpan<T>, TComparable) BinarySearch<T,TComparable>(ReadOnlySpan<T>, TComparable) BinarySearch<T,TComparable>(ReadOnlySpan<T>, TComparable)
CompareTo(ReadOnlySpan<Char>, ReadOnlySpan<Char>, StringComparison) CompareTo(ReadOnlySpan<Char>, ReadOnlySpan<Char>, StringComparison) CompareTo(ReadOnlySpan<Char>, ReadOnlySpan<Char>, StringComparison)
Contains(ReadOnlySpan<Char>, ReadOnlySpan<Char>, StringComparison) Contains(ReadOnlySpan<Char>, ReadOnlySpan<Char>, StringComparison) Contains(ReadOnlySpan<Char>, ReadOnlySpan<Char>, StringComparison)
EndsWith(ReadOnlySpan<Char>, ReadOnlySpan<Char>, StringComparison) EndsWith(ReadOnlySpan<Char>, ReadOnlySpan<Char>, StringComparison) EndsWith(ReadOnlySpan<Char>, ReadOnlySpan<Char>, StringComparison)
EndsWith<T>(ReadOnlySpan<T>, ReadOnlySpan<T>) EndsWith<T>(ReadOnlySpan<T>, ReadOnlySpan<T>) EndsWith<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)
Equals(ReadOnlySpan<Char>, ReadOnlySpan<Char>, StringComparison) Equals(ReadOnlySpan<Char>, ReadOnlySpan<Char>, StringComparison) Equals(ReadOnlySpan<Char>, ReadOnlySpan<Char>, StringComparison)
IndexOf(ReadOnlySpan<Char>, ReadOnlySpan<Char>, StringComparison) IndexOf(ReadOnlySpan<Char>, ReadOnlySpan<Char>, StringComparison) IndexOf(ReadOnlySpan<Char>, ReadOnlySpan<Char>, StringComparison)
IndexOf<T>(ReadOnlySpan<T>, T) IndexOf<T>(ReadOnlySpan<T>, T) IndexOf<T>(ReadOnlySpan<T>, T)
IndexOf<T>(ReadOnlySpan<T>, ReadOnlySpan<T>) IndexOf<T>(ReadOnlySpan<T>, ReadOnlySpan<T>) IndexOf<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)
IndexOfAny<T>(ReadOnlySpan<T>, T, T) IndexOfAny<T>(ReadOnlySpan<T>, T, T) IndexOfAny<T>(ReadOnlySpan<T>, T, T)
IndexOfAny<T>(ReadOnlySpan<T>, T, T, T) IndexOfAny<T>(ReadOnlySpan<T>, T, T, T) IndexOfAny<T>(ReadOnlySpan<T>, T, T, T)
IndexOfAny<T>(ReadOnlySpan<T>, ReadOnlySpan<T>) IndexOfAny<T>(ReadOnlySpan<T>, ReadOnlySpan<T>) IndexOfAny<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)
IsWhiteSpace(ReadOnlySpan<Char>) IsWhiteSpace(ReadOnlySpan<Char>) IsWhiteSpace(ReadOnlySpan<Char>)
LastIndexOf<T>(ReadOnlySpan<T>, T) LastIndexOf<T>(ReadOnlySpan<T>, T) LastIndexOf<T>(ReadOnlySpan<T>, T)
LastIndexOf<T>(ReadOnlySpan<T>, ReadOnlySpan<T>) LastIndexOf<T>(ReadOnlySpan<T>, ReadOnlySpan<T>) LastIndexOf<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)
LastIndexOfAny<T>(ReadOnlySpan<T>, T, T) LastIndexOfAny<T>(ReadOnlySpan<T>, T, T) LastIndexOfAny<T>(ReadOnlySpan<T>, T, T)
LastIndexOfAny<T>(ReadOnlySpan<T>, T, T, T) LastIndexOfAny<T>(ReadOnlySpan<T>, T, T, T) LastIndexOfAny<T>(ReadOnlySpan<T>, T, T, T)
LastIndexOfAny<T>(ReadOnlySpan<T>, ReadOnlySpan<T>) LastIndexOfAny<T>(ReadOnlySpan<T>, ReadOnlySpan<T>) LastIndexOfAny<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)
Overlaps<T>(ReadOnlySpan<T>, ReadOnlySpan<T>) Overlaps<T>(ReadOnlySpan<T>, ReadOnlySpan<T>) Overlaps<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)
Overlaps<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Int32) Overlaps<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Int32) Overlaps<T>(ReadOnlySpan<T>, ReadOnlySpan<T>, Int32)
SequenceCompareTo<T>(ReadOnlySpan<T>, ReadOnlySpan<T>) SequenceCompareTo<T>(ReadOnlySpan<T>, ReadOnlySpan<T>) SequenceCompareTo<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)
SequenceEqual<T>(ReadOnlySpan<T>, ReadOnlySpan<T>) SequenceEqual<T>(ReadOnlySpan<T>, ReadOnlySpan<T>) SequenceEqual<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)
StartsWith(ReadOnlySpan<Char>, ReadOnlySpan<Char>, StringComparison) StartsWith(ReadOnlySpan<Char>, ReadOnlySpan<Char>, StringComparison) StartsWith(ReadOnlySpan<Char>, ReadOnlySpan<Char>, StringComparison)
StartsWith<T>(ReadOnlySpan<T>, ReadOnlySpan<T>) StartsWith<T>(ReadOnlySpan<T>, ReadOnlySpan<T>) StartsWith<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)
ToLower(ReadOnlySpan<Char>, Span<Char>, CultureInfo) ToLower(ReadOnlySpan<Char>, Span<Char>, CultureInfo) ToLower(ReadOnlySpan<Char>, Span<Char>, CultureInfo)
ToLowerInvariant(ReadOnlySpan<Char>, Span<Char>) ToLowerInvariant(ReadOnlySpan<Char>, Span<Char>) ToLowerInvariant(ReadOnlySpan<Char>, Span<Char>)
ToUpper(ReadOnlySpan<Char>, Span<Char>, CultureInfo) ToUpper(ReadOnlySpan<Char>, Span<Char>, CultureInfo) ToUpper(ReadOnlySpan<Char>, Span<Char>, CultureInfo)
ToUpperInvariant(ReadOnlySpan<Char>, Span<Char>) ToUpperInvariant(ReadOnlySpan<Char>, Span<Char>) ToUpperInvariant(ReadOnlySpan<Char>, Span<Char>)
Trim(ReadOnlySpan<Char>) Trim(ReadOnlySpan<Char>) Trim(ReadOnlySpan<Char>)
Trim(ReadOnlySpan<Char>, Char) Trim(ReadOnlySpan<Char>, Char) Trim(ReadOnlySpan<Char>, Char)
Trim(ReadOnlySpan<Char>, ReadOnlySpan<Char>) Trim(ReadOnlySpan<Char>, ReadOnlySpan<Char>) Trim(ReadOnlySpan<Char>, ReadOnlySpan<Char>)
TrimEnd(ReadOnlySpan<Char>) TrimEnd(ReadOnlySpan<Char>) TrimEnd(ReadOnlySpan<Char>)
TrimEnd(ReadOnlySpan<Char>, Char) TrimEnd(ReadOnlySpan<Char>, Char) TrimEnd(ReadOnlySpan<Char>, Char)
TrimEnd(ReadOnlySpan<Char>, ReadOnlySpan<Char>) TrimEnd(ReadOnlySpan<Char>, ReadOnlySpan<Char>) TrimEnd(ReadOnlySpan<Char>, ReadOnlySpan<Char>)
TrimStart(ReadOnlySpan<Char>) TrimStart(ReadOnlySpan<Char>) TrimStart(ReadOnlySpan<Char>)
TrimStart(ReadOnlySpan<Char>, Char) TrimStart(ReadOnlySpan<Char>, Char) TrimStart(ReadOnlySpan<Char>, Char)
TrimStart(ReadOnlySpan<Char>, ReadOnlySpan<Char>) TrimStart(ReadOnlySpan<Char>, ReadOnlySpan<Char>) TrimStart(ReadOnlySpan<Char>, ReadOnlySpan<Char>)
AsBytes<T>(ReadOnlySpan<T>) AsBytes<T>(ReadOnlySpan<T>) AsBytes<T>(ReadOnlySpan<T>)
IndexOf(ReadOnlySpan<Byte>, Byte) IndexOf(ReadOnlySpan<Byte>, Byte) IndexOf(ReadOnlySpan<Byte>, Byte)
IndexOf(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) IndexOf(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) IndexOf(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
IndexOf<T>(ReadOnlySpan<T>, T) IndexOf<T>(ReadOnlySpan<T>, T) IndexOf<T>(ReadOnlySpan<T>, T)
IndexOf<T>(ReadOnlySpan<T>, ReadOnlySpan<T>) IndexOf<T>(ReadOnlySpan<T>, ReadOnlySpan<T>) IndexOf<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)
IndexOfAny(ReadOnlySpan<Byte>, Byte, Byte) IndexOfAny(ReadOnlySpan<Byte>, Byte, Byte) IndexOfAny(ReadOnlySpan<Byte>, Byte, Byte)
IndexOfAny(ReadOnlySpan<Byte>, Byte, Byte, Byte) IndexOfAny(ReadOnlySpan<Byte>, Byte, Byte, Byte) IndexOfAny(ReadOnlySpan<Byte>, Byte, Byte, Byte)
IndexOfAny(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) IndexOfAny(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) IndexOfAny(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
NonPortableCast<TFrom,TTo>(ReadOnlySpan<TFrom>) NonPortableCast<TFrom,TTo>(ReadOnlySpan<TFrom>) NonPortableCast<TFrom,TTo>(ReadOnlySpan<TFrom>)
SequenceEqual(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) SequenceEqual(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) SequenceEqual(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
SequenceEqual<T>(ReadOnlySpan<T>, ReadOnlySpan<T>) SequenceEqual<T>(ReadOnlySpan<T>, ReadOnlySpan<T>) SequenceEqual<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)
StartsWith(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) StartsWith(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>) StartsWith(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
StartsWith<T>(ReadOnlySpan<T>, ReadOnlySpan<T>) StartsWith<T>(ReadOnlySpan<T>, ReadOnlySpan<T>) StartsWith<T>(ReadOnlySpan<T>, ReadOnlySpan<T>)

Applies to