NativeUtilsIntSpanToArrayT Method |
Converts a span of integers to an array of type T.
Namespace:
SampSharp.Core.Natives.NativeObjects.FastNatives
Assembly:
SampSharp.Core (in SampSharp.Core.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax public static T[] IntSpanToArray<T>(
Array array,
Span<int> span
)
Parameters
- array
- Type: SystemArray
The array to store the result in or null if a new array should be allocated. - span
- Type: SystemSpanInt32
The span of integers to convert.
Type Parameters
- T
- The type of the elements in the array.
Return Value
Type:
TThe converted array.
See Also