Click or drag to resize

ReadOnlyMemoryT(T, Int32, Int32) Constructor

Creates a memory over a portion of an array.

Namespace: System
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.10.261112-5ffe0920c00dbac056780af7ab9b1978b26ef4a5
Syntax
public ReadOnlyMemory(
	T[] array,
	int start,
	int length
)

Parameters

array  T
The array to wrap
start  Int32
The zero-based index of the first element to include
length  Int32
The number of elements to include
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionstart or length are outside the bounds of array
See Also