Represents a C# fixed-size Array (T[])

Constructor

new (len:Int)

Allocates a new array with size len

Variables

read onlylength:Int

Alias to array's Length property. Returns the size of the array

Methods

inlineiterator ():NativeArrayIterator<T>

Returns an iterator so it's possible to use for with C#'s NativeArray

Static methods

staticReverse (arr:Array):Void

staticmake<T> (elements:Rest<T>):NativeArray<T>

Creates a new array with the specified elements.

Usage:

var elements = NativeArray.make(1,2,3,4,5,6);

Inherited Variables

Defined by Array

read onlyIsFixedSize:Bool

read onlyIsReadOnly:Bool

read onlyLength:Int

read onlyLongLength:Int64

read onlyRank:Int

read onlySyncRoot:Dynamic

Inherited Methods

Defined by Array

CopyTo (array:Array, index:Int):Void

CopyTo (array:Array, index:Int64):Void

GetLength (dimension:Int):Int

GetLongLength (dimension:Int):Int64

GetLowerBound (dimension:Int):Int

GetUpperBound (dimension:Int):Int

GetValue (indices:NativeArray<Int>):Dynamic

GetValue (indices:NativeArray<Int64>):Dynamic

GetValue (index1:Int64, index2:Int64, index3:Int64):Dynamic

GetValue (index1:Int64, index2:Int64):Dynamic

GetValue (index:Int64):Dynamic

GetValue (index1:Int, index2:Int, index3:Int):Dynamic

GetValue (index1:Int, index2:Int):Dynamic

GetValue (index:Int):Dynamic

SetValue (value:Dynamic, indices:NativeArray<Int>):Void

SetValue (value:Dynamic, indices:NativeArray<Int64>):Void

SetValue (value:Dynamic, index1:Int, index2:Int, index3:Int):Void

SetValue (value:Dynamic, index1:Int, index2:Int):Void

SetValue (value:Dynamic, index:Int):Void

SetValue (value:Dynamic, index1:Int64, index2:Int64, index3:Int64):Void

SetValue (value:Dynamic, index1:Int64, index2:Int64):Void

SetValue (value:Dynamic, index:Int64):Void