NativeUtilsArrayToIntSpan Method |
Converts an array to on span of integers.
Namespace:
SampSharp.Core.Natives.NativeObjects.FastNatives
Assembly:
SampSharp.Core (in SampSharp.Core.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax public static Span<int> ArrayToIntSpan(
Array array,
int length
)
Parameters
- array
- Type: SystemArray
The array to convert. - length
- Type: SystemInt32
The length of the data to convert.
Return Value
Type:
SpanInt32The span of integers.
See Also