Javascript DataView buffer

Introduction

The Javascript DataView buffer property represents the ArrayBuffer.

dataview.buffer

Using the buffer property

var buffer = new ArrayBuffer(8);
var dataview = new DataView(buffer);

console.log(dataview.buffer); // ArrayBuffer { byteLength: 8 }



PreviousNext

Related