Memory<T>.Implicit Memory<T>.Implicit Memory<T>.Implicit Memory<T>.Implicit Operator

Definition

Overloads

Implicit(T[] to Memory<T>) Implicit(T[] to Memory<T>) Implicit(T[] to Memory<T>) Implicit(T[] to Memory<T>)

Defines an implicit conversion of an array to a Memory<T> object.

Implicit(ArraySegment<T> to Memory<T>) Implicit(ArraySegment<T> to Memory<T>) Implicit(ArraySegment<T> to Memory<T>) Implicit(ArraySegment<T> to Memory<T>)

Defines an implicit conversion of an ArraySegment<T> object to a Memory<T> object.

Implicit(Memory<T> to ReadOnlyMemory<T>) Implicit(Memory<T> to ReadOnlyMemory<T>) Implicit(Memory<T> to ReadOnlyMemory<T>) Implicit(Memory<T> to ReadOnlyMemory<T>)

Defines an implicit conversion of a Memory<T> object to a ReadOnlyMemory<T> object.

Implicit(T[] to Memory<T>) Implicit(T[] to Memory<T>) Implicit(T[] to Memory<T>) Implicit(T[] to Memory<T>)

Defines an implicit conversion of an array to a Memory<T> object.

public:
 static operator Memory<T>(cli::array <T> ^ array);
public static implicit operator Memory<T> (T[] array);
static member op_Implicit : 'T[] -> Memory<'T>
Public Shared Widening Operator CType (array As T()) As Memory(Of T)

Parameters

array
T[]

The array to convert.

Returns

The converted object.

Implicit(ArraySegment<T> to Memory<T>) Implicit(ArraySegment<T> to Memory<T>) Implicit(ArraySegment<T> to Memory<T>) Implicit(ArraySegment<T> to Memory<T>)

Defines an implicit conversion of an ArraySegment<T> object to a Memory<T> object.

public:
 static operator Memory<T>(ArraySegment<T> segment);
public static implicit operator Memory<T> (ArraySegment<T> segment);
static member op_Implicit : ArraySegment<'T> -> Memory<'T>
Public Shared Widening Operator CType (segment As ArraySegment(Of T)) As Memory(Of T)

Parameters

Returns

Implicit(Memory<T> to ReadOnlyMemory<T>) Implicit(Memory<T> to ReadOnlyMemory<T>) Implicit(Memory<T> to ReadOnlyMemory<T>) Implicit(Memory<T> to ReadOnlyMemory<T>)

Defines an implicit conversion of a Memory<T> object to a ReadOnlyMemory<T> object.

public:
 static operator ReadOnlyMemory<T>(Memory<T> memory);
public static implicit operator ReadOnlyMemory<T> (Memory<T> memory);
static member op_Implicit : Memory<'T> -> ReadOnlyMemory<'T>
Public Shared Widening Operator CType (memory As Memory(Of T)) As ReadOnlyMemory(Of T)

Parameters

memory
Memory<T> Memory<T> Memory<T> Memory<T>

The object to convert.

Returns

Applies to