class js.html.ArrayBuffer

Available on js

The ArrayBuffer is a data type that is used to represent a generic, fixed-length binary data buffer. You can't directly manipulate the contents of an ArrayBuffer; instead, you create an ArrayBufferView object which represents the buffer in a specific format, and use that to read and write the contents of the buffer.

Documentation for this class was provided by MDN.

Instance Fields

var byteLength:Int

The size, in bytes, of the array. This is established when the array is constructed and cannot be changed. Read only.

function new(?arg0:Dynamic):Void

function slice(begin:Int, ?end:Int):ArrayBuffer