Liking cljdoc? Tell your friends :D

js.TypedArray

A TypedArray object describes an array-like view of an underlying data buffer. There is no global property named TypedArray, nor there a directly visible TypedArray constructor. Instead, there a number of different global properties, whose values are typed constructors for specific element types, listed below. On the pages you will find common properties and methods that can be with any typed array containing elements of any type.

A TypedArray object describes an array-like view of an underlying
data buffer. There is no global property named TypedArray, nor
there a directly visible TypedArray constructor. Instead, there
a number of different global properties, whose values are typed
constructors for specific element types, listed below. On the
pages you will find common properties and methods that can be
with any typed array containing elements of any type.
raw docstring

bytes-per-elementcljs

(bytes-per-element this)

Property.

The TypedArray.BYTES_PER_ELEMENT property represents the size bytes of each element in an typed array.

TypedArray.BYTES_PER_ELEMENT;

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/BYTES_PER_ELEMENT

Property.

The TypedArray.BYTES_PER_ELEMENT property represents the size
bytes of each element in an typed array.

`TypedArray.BYTES_PER_ELEMENT;`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/BYTES_PER_ELEMENT`
raw docstring

fromcljs

(from this & args)

Method.

The TypedArray.from() method creates a new typed array from an or iterable object. This method is nearly the same as Array.from().

`TypedArray.from(source[, mapFn[, thisArg]])

where TypedArray is one of:

Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array BigInt64Array BigUint64Array`

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/from

Method.

The TypedArray.from() method creates a new typed array from an
or iterable object. This method is nearly the same as `Array.from()`.

`TypedArray.from(source[, mapFn[, thisArg]])

where TypedArray is one of:

Int8Array
Uint8Array
Uint8ClampedArray
Int16Array
Uint16Array
Int32Array
Uint32Array
Float32Array
Float64Array
BigInt64Array
BigUint64Array`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/from`
raw docstring

set-bytes-per-element!cljs

(set-bytes-per-element! this val)

Property.

The TypedArray.BYTES_PER_ELEMENT property represents the size bytes of each element in an typed array.

TypedArray.BYTES_PER_ELEMENT;

See also: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/BYTES_PER_ELEMENT

Property.

The TypedArray.BYTES_PER_ELEMENT property represents the size
bytes of each element in an typed array.

`TypedArray.BYTES_PER_ELEMENT;`

See also: `https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/BYTES_PER_ELEMENT`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close