io.UInt8Array

UInt8Array(UInt8ArrayData)

package haxe-io

Available on all platforms

Constructor

inline new (elements:Int)

Variables

read only length:Int

read only view:ArrayBufferView

Methods

inline get (index:Int):Int

inline getData ():UInt8ArrayData

inline get_view ():ArrayBufferView

inline set (index:Int, value:Int):Int

inline sub (begin:Int, ?length:Int):UInt8Array

inline subarray (?begin:Int, ?end:Int):UInt8Array

Static variables

static inline read only BYTES_PER_ELEMENT:Int = 1

Static methods

static fromArray (a:Array<Int>, pos:Int = 0, ?length:Int):UInt8Array

static fromBytes (bytes:Bytes, bytePos:Int = 0, ?length:Int):UInt8Array

static fromData (d:UInt8ArrayData):UInt8Array

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部