W3cubDocs

/Haxe JavaScript

DataView

package js.lib

implements ArrayBufferView

Available on js

Constructor

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

Throws:

null

DOMError

Variables

finalbuffer:ArrayBuffer

finalbyteLength:Int

finalbyteOffset:Int

Methods

getFloat32(byteOffset:Int, ?littleEndian:Bool):Float

getFloat64(byteOffset:Int, ?littleEndian:Bool):Float

getInt16(byteOffset:Int, ?littleEndian:Bool):Int

getInt32(byteOffset:Int, ?littleEndian:Bool):Int

getInt8(byteOffset:Int):Int

getUint16(byteOffset:Int, ?littleEndian:Bool):Int

getUint32(byteOffset:Int, ?littleEndian:Bool):Int

getUint8(byteOffset:Int):Int

setFloat32(byteOffset:Int, value:Float, ?littleEndian:Bool):Void

setFloat64(byteOffset:Int, value:Float, ?littleEndian:Bool):Void

setInt16(byteOffset:Int, value:Int, ?littleEndian:Bool):Void

setInt32(byteOffset:Int, value:Int, ?littleEndian:Bool):Void

setInt8(byteOffset:Int, value:Int):Void

setUint16(byteOffset:Int, value:Int, ?littleEndian:Bool):Void

setUint32(byteOffset:Int, value:Int, ?littleEndian:Bool):Void

setUint8(byteOffset:Int, value:Int):Void

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/lib/DataView.html