Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (16 sloc) 886 Bytes
description
A fixed-length raw binary buffer.

ArrayBuffer

API

The ArrayBuffer API is exactly as in JavaScript (MDN).

Static

  • ArrayBuffer.isView<T>(value: T): bool Returns true if value is one of the buffer views, such as one of the typed arrays or a DataView.

Constructor

  • new ArrayBuffer(length: i32) Constructs a new buffer of the given length in bytes.

Instance

Fields

  • ArrayBuffer#byteLength The buffer's length, in bytes.

Methods

  • ArrayBuffer#slice(begin?: i32, end?: i32): ArrayBuffer Returns a copy of this buffer from begin, inclusive, up to end, exclusive.
  • ArrayBuffer#toString(): string Returns a string representation of this buffer.
You can’t perform that action at this time.