Click or drag to resize

ReadOnlyMemoryT   Conversion (ArraySegmentT to ReadOnlyMemoryT)

Implicitly converts an ArraySegmentT to a ReadOnlyMemoryT.

Namespace: System
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.10.261112-5ffe0920c00dbac056780af7ab9b1978b26ef4a5
Syntax
public static implicit operator ReadOnlyMemory<T> (
	ArraySegment<T> segment
)

Parameters

segment  ArraySegmentT
The array segment to convert

Return Value

ReadOnlyMemoryT
A ReadOnlyMemoryT over the segment, or an empty memory if the segment has no array
See Also