Method CreateSpanSaturating
CreateSpanSaturating<T>(ref T, nint)
[Saturating] Creates a new span over a portion of a regular managed object.
[FakeCLSCompliant(false)]
public static Span<T> CreateSpanSaturating<T>(ref T reference, nint length)
Parameters
reference
TA reference to data.
length
nintThe number of T elements that reference contains.
Returns
- Span<T>
A span.
Type Parameters
T
The type of the data items.