io.ArrayBufferView

ArrayBufferView(ArrayBufferViewData)

package haxe-io

Available on all platforms

Constructor

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部