ReadOnlyMemory<T> ReadOnlyMemory<T> ReadOnlyMemory<T> ReadOnlyMemory<T> Struct

Definition

generic <typename T>
public value class ReadOnlyMemory
public struct ReadOnlyMemory<T>
type ReadOnlyMemory<'T> = struct
Public Structure ReadOnlyMemory(Of T)

Type Parameters

T
Inheritance
ReadOnlyMemory<T>ReadOnlyMemory<T>ReadOnlyMemory<T>ReadOnlyMemory<T>

Constructors

ReadOnlyMemory<T>(T[]) ReadOnlyMemory<T>(T[]) ReadOnlyMemory<T>(T[]) ReadOnlyMemory<T>(T[])
ReadOnlyMemory<T>(T[], Int32, Int32) ReadOnlyMemory<T>(T[], Int32, Int32) ReadOnlyMemory<T>(T[], Int32, Int32) ReadOnlyMemory<T>(T[], Int32, Int32)

Properties

Empty Empty Empty Empty
IsEmpty IsEmpty IsEmpty IsEmpty
Item[Range] Item[Range] Item[Range] Item[Range]
Length Length Length Length
Span Span Span Span

Methods

CopyTo(Memory<T>) CopyTo(Memory<T>) CopyTo(Memory<T>) CopyTo(Memory<T>)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)
Equals(ReadOnlyMemory<T>) Equals(ReadOnlyMemory<T>) Equals(ReadOnlyMemory<T>) Equals(ReadOnlyMemory<T>)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()
Pin() Pin() Pin() Pin()
Slice(Index) Slice(Index) Slice(Index) Slice(Index)
Slice(Int32) Slice(Int32) Slice(Int32) Slice(Int32)
Slice(Range) Slice(Range) Slice(Range) Slice(Range)
Slice(Int32, Int32) Slice(Int32, Int32) Slice(Int32, Int32) Slice(Int32, Int32)
ToArray() ToArray() ToArray() ToArray()
ToString() ToString() ToString() ToString()
TryCopyTo(Memory<T>) TryCopyTo(Memory<T>) TryCopyTo(Memory<T>) TryCopyTo(Memory<T>)

Operators

Implicit(T[] to ReadOnlyMemory<T>) Implicit(T[] to ReadOnlyMemory<T>) Implicit(T[] to ReadOnlyMemory<T>) Implicit(T[] to ReadOnlyMemory<T>)
Implicit(ArraySegment<T> to ReadOnlyMemory<T>) Implicit(ArraySegment<T> to ReadOnlyMemory<T>) Implicit(ArraySegment<T> to ReadOnlyMemory<T>) Implicit(ArraySegment<T> to ReadOnlyMemory<T>)

Extension Methods

Trim<T>(ReadOnlyMemory<T>, T) Trim<T>(ReadOnlyMemory<T>, T) Trim<T>(ReadOnlyMemory<T>, T) Trim<T>(ReadOnlyMemory<T>, T)
Trim<T>(ReadOnlyMemory<T>, ReadOnlySpan<T>) Trim<T>(ReadOnlyMemory<T>, ReadOnlySpan<T>) Trim<T>(ReadOnlyMemory<T>, ReadOnlySpan<T>) Trim<T>(ReadOnlyMemory<T>, ReadOnlySpan<T>)
TrimEnd<T>(ReadOnlyMemory<T>, T) TrimEnd<T>(ReadOnlyMemory<T>, T) TrimEnd<T>(ReadOnlyMemory<T>, T) TrimEnd<T>(ReadOnlyMemory<T>, T)
TrimEnd<T>(ReadOnlyMemory<T>, ReadOnlySpan<T>) TrimEnd<T>(ReadOnlyMemory<T>, ReadOnlySpan<T>) TrimEnd<T>(ReadOnlyMemory<T>, ReadOnlySpan<T>) TrimEnd<T>(ReadOnlyMemory<T>, ReadOnlySpan<T>)
TrimStart<T>(ReadOnlyMemory<T>, T) TrimStart<T>(ReadOnlyMemory<T>, T) TrimStart<T>(ReadOnlyMemory<T>, T) TrimStart<T>(ReadOnlyMemory<T>, T)
TrimStart<T>(ReadOnlyMemory<T>, ReadOnlySpan<T>) TrimStart<T>(ReadOnlyMemory<T>, ReadOnlySpan<T>) TrimStart<T>(ReadOnlyMemory<T>, ReadOnlySpan<T>) TrimStart<T>(ReadOnlyMemory<T>, ReadOnlySpan<T>)

Applies to