W3cubDocs

/Haxe

UInt16Array(UInt16ArrayData)

package haxe.io

Available on all platforms

Constructor

@:impl inline new (elements:Int)

Variables

@:impl read only length:Int

@:impl read only view:ArrayBufferView

Methods

@:impl @:arrayAccess inline get (this:UInt16ArrayData):Int

@:impl inline getData ():UInt16ArrayData

@:impl inline get_view ():ArrayBufferView

@:impl @:arrayAccess inline set (this:UInt16ArrayData, index:Int):Int

@:impl inline sub (this:UInt16ArrayData, begin:Int):UInt16Array

@:impl inline subarray (this:UInt16ArrayData, ?begin:Int):UInt16Array

Static variables

@:value(2) static inline read only BYTES_PER_ELEMENT:Int = 2

@:value(2) static inline read only BYTES_PER_ELEMENT:Int = 2

@:impl static read only length:Int

@:impl static read only view:ArrayBufferView

Static methods

@:impl static inline new (elements:Int)

@:value({ pos : 0 }) static fromArray (a:Array<Int>, pos:Int = 0, ?length:Int):UInt16Array

@:value({ pos : 0 }) static fromArray (a:Array<Int>, pos:Int = 0, ?length:Int):UInt16Array

@:value({ bytePos : 0 }) static fromBytes (bytes:Bytes, bytePos:Int = 0, ?length:Int):UInt16Array

@:value({ bytePos : 0 }) static fromBytes (bytes:Bytes, bytePos:Int = 0, ?length:Int):UInt16Array

static fromData (d:UInt16ArrayData):UInt16Array

static fromData (d:UInt16ArrayData):UInt16Array

@:impl @:arrayAccess static inline get (this:UInt16ArrayData):Int

@:impl static inline getData ():UInt16ArrayData

@:impl static inline get_view ():ArrayBufferView

@:impl @:arrayAccess static inline set (this:UInt16ArrayData, index:Int):Int

@:impl static inline sub (this:UInt16ArrayData, begin:Int):UInt16Array

@:impl static inline subarray (this:UInt16ArrayData, ?begin:Int):UInt16Array

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/io/UInt16Array.html