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

Constructor

new (len:Int)

Allocates a new array with size len

Variables

read onlylength:Int

The length of the array

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