QuickBEAM.VM.Runtime.TypedArray (QuickBEAM v0.10.9)

Copy Markdown View Source

JS TypedArray built-ins: constructors and prototype methods for all numeric array types (Uint8Array through Float64Array).

Summary

Functions

Builds the JavaScript constructor object for this runtime builtin.

Reads an element from a typed-array value.

Returns whether a typed-array object is backed by immutable data.

Writes an element to a typed-array value.

Returns typed-array type descriptors supported by the runtime.

Functions

constructor(type)

Builds the JavaScript constructor object for this runtime builtin.

get_element(arg, idx)

Reads an element from a typed-array value.

immutable?(arg)

Returns whether a typed-array object is backed by immutable data.

set_element(arg, idx, val)

Writes an element to a typed-array value.

types()

Returns typed-array type descriptors supported by the runtime.