Javascript Uint8ClampedArray buffer

Introduction

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

Uint8ClampedArray.buffer

The Javascript Uint8ClampedArray buffer property is a read only property.

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

Using the Javascript Uint8ClampedArray buffer property

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



PreviousNext

Related