Javascript Int8Array buffer

Introduction

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

Int8Array.buffer

The Javascript Int8Array buffer property is a read only property.

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

Using the Javascript Int8Array buffer property

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



PreviousNext

Related