Click or drag to resize

SpanT(Void*, Int32) Constructor

Creates a new SpanT from a raw pointer and a length. The caller guarantees that the memory stays valid and fixed for the lifetime of the span.

Namespace: System
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.10.261112-5ffe0920c00dbac056780af7ab9b1978b26ef4a5
Syntax
public Span(
	void* ptr,
	int length
)

Parameters

ptr  Void*
Pointer to the first element.
length  Int32
Number of elements.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionlength is negative.
See Also