Constructs a new array slice with unit stride.
Namespace:
Extreme.Collections
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public NativeArraySlice(
IntPtr values,
int offset
)
Public Sub New (
values As IntPtr,
offset As Integer
)
public:
NativeArraySlice(
IntPtr values,
int offset
)
new :
values : IntPtr *
offset : int -> NativeArraySlice
Parameters
- values
- Type: SystemIntPtr
The storage array. - offset
- Type: SystemInt32
The offset of the first element in the storage array.
The values array is re-used. Modifying elements in the array slice
will modify the elements in the original array. Conversely, if elements in the original array
that correspond to elements in the array slice are modified, the elements of the array slice
are modified as well.
Reference