NativeArray
cs.system.Array → cs.NativeArray (extern class)
Represents a C# fixed-size Array (T[])
Static Members
make(elements: haxe.extern.Rest): NativeArray<make.T>Creates a new array with the specified elements.
Usage:
var elements = NativeArray.make(1,2,3,4,5,6);
| Name | Type |
|---|---|
elements |
haxe.extern.Rest |
| Returns |
|---|
| NativeArray<make.T> |
Reverse(arr: cs.system.Array): Void| Name | Type |
|---|---|
arr |
cs.system.Array |
Instance Members
length: IntAlias to array's Length property. Returns the size of the array
iterator(): cs._NativeArray.NativeArrayIterator<cs.NativeArray.T>Returns an iterator so it's possible to use for with C#'s NativeArray
| Returns |
|---|
| cs._NativeArray.NativeArrayIterator<cs.NativeArray.T> |
Allocates a new array with size len
| Name | Type |
|---|---|
len |
Int |
Metadata
| Name | Parameters |
|---|---|
:nativeGen |
- |