Results 1 - 20 of 75

ArrayBuffer

The ArrayBuffer object is used to represent a generic, fixed-length raw binary data buffer. You cannot directly manipulate the contents of an ArrayBuffer; instead, you create one of the typed array objects or a DataView object which represents the buffer in a specific format, and use that to read and write the contents of the buffer.
ArrayBuffer Constructor JavaScript TypedArrays

Float32Array

The Float32Array typed array represents an array of 32-bit floating point numbers (corresponding to the C float data type) in the platform byte order. If control over byte order is needed, use DataView instead. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).
Constructor JavaScript TypedArray TypedArrays

ArrayBuffer

The ArrayBuffer object is used to represent a generic, fixed-length raw binary data buffer. You cannot directly manipulate the contents of an ArrayBuffer; instead, you create one of the typed array objects or a DataView object which represents the buffer in a specific format, and use that to read and write the contents of the buffer.
ArrayBuffer Constructor JavaScript TypedArrays

get ArrayBuffer[@@species]

The ArrayBuffer[@@species] accessor property returns the ArrayBuffer constructor.
ArrayBuffer JavaScript Property TypedArrays

ArrayBuffer.isView()

The ArrayBuffer.isView() method returns true if arg is one of the ArrayBuffer views, such as typed array objects or a DataView; false otherwise.
ArrayBuffer JavaScript Method TypedArrays

DataView

The DataView view provides a low-level interface for reading and writing multiple number types in an ArrayBuffer irrespective of the platform's endianness.
Constructor DataView JavaScript TypedArrays

Float32Array

The Float32Array typed array represents an array of 32-bit floating point numbers (corresponding to the C float data type) in the platform byte order. If control over byte order is needed, use DataView instead. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).
Constructor JavaScript TypedArray TypedArrays

Float64Array

The Float64Array typed array represents an array of 64-bit floating point numbers (corresponding to the C double data type) in the platform byte order. If control over byte order is needed, use DataView instead. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).
Constructor JavaScript TypedArray TypedArrays

Int16Array

The Int16Array typed array represents an array of twos-complement 16-bit signed integers in the platform byte order. If control over byte order is needed, use DataView instead. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).
Constructor JavaScript TypedArray TypedArrays

Int32Array

The Int32Array typed array represents an array of twos-complement 32-bit signed integers in the platform byte order. If control over byte order is needed, use DataView instead. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).
Constructor JavaScript TypedArray TypedArrays

TypedArray

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

TypedArray.BYTES_PER_ELEMENT

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

TypedArray.name

The TypedArray.name property represents a string value of the typed array constructor name.
JavaScript Property TypedArray TypedArrays

TypedArray.prototype

The TypedArray.prototype property represents the prototype for TypedArray constructors.
JavaScript Property TypedArray TypedArrays

Uint32Array

The Uint32Array typed array represents an array of 32-bit unsigned integers in the platform byte order. If control over byte order is needed, use DataView instead. The contents are initialized to 0. Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).
Constructor JavaScript TypedArray TypedArrays

DataView.prototype.buffer

The buffer accessor property represents the ArrayBuffer referenced by the DataView at construction time.
DataView JavaScript Property Prototype TypedArrays

DataView.prototype.byteLength

The byteLength accessor property represents the length (in bytes) of this view from the start of its ArrayBuffer.
DataView JavaScript Property Prototype TypedArrays

DataView.prototype.byteOffset

The byteOffset accessor property represents the offset (in bytes) of this view from the start of its ArrayBuffer.
DataView JavaScript Property Prototype TypedArrays

DataView.prototype.getFloat32()

The getFloat32() method gets a signed 32-bit float (float) at the specified byte offset from the start of the DataView.
DataView JavaScript Method Prototype TypedArrays

DataView.prototype.getFloat64()

The getFloat64() method gets a signed 64-bit float (double) at the specified byte offset from the start of the DataView.
DataView JavaScript Method Prototype TypedArrays