Represents a java fixed-size Array (T[])

Static methods

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);

staticinlineofArray<T>(arr:Array<T>):NativeArray<T>

Constructor

new(len:Int)

Allocates a new array with size len

Variables

read onlylength:Int

The length of the array

Methods

inlinetoArray<T>():Array<T>