Javascript Float32Array buffer

Introduction

The Javascript Float32Array buffer property returns the ArrayBuffer referenced by a Float32Array.

Float32Array.buffer

The Javascript Float32Array buffer property is a read only property.

The value is set when the Float32Array is constructed and cannot be changed.

Using the Javascript Float32Array buffer property

var buffer = new ArrayBuffer(8);
var uint16 = new Float32Array(buffer);
uint16.buffer;



PreviousNext

Related