NativeArray<T>

package cs

extends Array

Available on cs

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

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

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

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/cs/NativeArray.html