W3cubDocs

/Haxe JavaScript

Int8Array

package js.html

extends ArrayBufferView

Available on js

Constructor

new (buffer:ArrayBuffer, ?byteOffset:Int, ?length:Int)

new (length:Int)

new (array:Int8Array)

new (array:Array<Int>)

Throws:

null DOMError

Variables

read only length:Int

Methods

set (array:Array<Int>, ?offset:Int):Void

set (array:Int8Array, ?offset:Int):Void

subarray (start:Int, ?end:Int):Int8Array

Static variables

static inline read only BYTES_PER_ELEMENT:Int = 1

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/Int8Array.html