JavaScripture
Contribute via GitHub Feedback

JavaScript ArrayBufferView : Object

ArrayBufferView is an abstract type that is the base for the following types: DataView, Float32Array, Float64Array, Int8Array, Int16Array, Int32Array, Uint8Array, Uint8ClampedArray, Uint16Array, Uint32Array.

Instance Properties

buffer : ArrayBuffer  

Returns the underlying buffer for this.

Example:

Run

Results:

 

byteLength : Number  

The length of this in bytes.

Example:

Run

Results:

 

byteOffset : Number  

The offset into this.buffer where the view starts.

Example:

Run

Results: