io.ArrayBufferView
ArrayBufferView(ArrayBufferViewData)
package haxe-io
Available on all platformsConstructor
inline new (size:Int)
Variables
read only buffer:Bytes
read only byteLength:Int
read only byteOffset:Int
Methods
inline getData ():ArrayBufferViewData
inline sub (begin:Int, ?length:Int):ArrayBufferView
inline subarray (?begin:Int, ?end:Int):ArrayBufferView
Available on cpp, cs, flash, hl, java, lua, macro, neko, php, python
Static variables
static read only EMULATED:Bool
On some platforms configurations (for instance JS with no TypedArray support as in IE8-), Haxe will try to emulate the array buffers API. However in that case memory sharing will not be supported : each typed array or will copy its own data set. This flag allows users to detect if we are doing such emulation. At the moment only JavaScript is concerned.
Static methods
static fromBytes (bytes:Bytes, pos:Int = 0, ?length:Int):ArrayBufferView
Available on cpp, cs, flash, hl, java, lua, macro, neko, php, python
static inline fromData (a:ArrayBufferViewData):ArrayBufferView
© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/haxe/io/ArrayBufferView.html