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

@:externinlineiterator ():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

@:final@:overloadClone ():Dynamic

@:final@:overloadCopyTo (array:Array, index:Int):Void

@:final@:overloadCopyTo (array:Array, index:Int64):Void

@:final@:overloadGetEnumerator ():IEnumerator

@:final@:overloadGetLength (dimension:Int):Int

@:final@:overloadGetLongLength (dimension:Int):Int64

@:final@:overloadGetLowerBound (dimension:Int):Int

@:final@:overloadGetUpperBound (dimension:Int):Int

@:final@:overloadGetValue (indices:NativeArray<Int>):Dynamic

@:final@:overloadGetValue (indices:NativeArray<Int64>):Dynamic

@:final@:overloadGetValue (index1:Int64, index2:Int64, index3:Int64):Dynamic

@:final@:overloadGetValue (index1:Int64, index2:Int64):Dynamic

@:final@:overloadGetValue (index:Int64):Dynamic

@:final@:overloadGetValue (index1:Int, index2:Int, index3:Int):Dynamic

@:final@:overloadGetValue (index1:Int, index2:Int):Dynamic

@:final@:overloadGetValue (index:Int):Dynamic

@:final@:overloadInitialize ():Void

@:final@:overloadSetValue (value:Dynamic, indices:NativeArray<Int>):Void

@:final@:overloadSetValue (value:Dynamic, indices:NativeArray<Int64>):Void

@:final@:overloadSetValue (value:Dynamic, index1:Int, index2:Int, index3:Int):Void

@:final@:overloadSetValue (value:Dynamic, index1:Int, index2:Int):Void

@:final@:overloadSetValue (value:Dynamic, index:Int):Void

@:final@:overloadSetValue (value:Dynamic, index1:Int64, index2:Int64, index3:Int64):Void

@:final@:overloadSetValue (value:Dynamic, index1:Int64, index2:Int64):Void

@:final@:overloadSetValue (value:Dynamic, index:Int64):Void