Javascript ArrayBuffer byteLength

Introduction

The Javascript ArrayBuffer byteLength property returns the length of an ArrayBuffer in bytes.

arraybuffer.byteLength
var buffer = new ArrayBuffer(8);
console.log(buffer.byteLength); // 8



PreviousNext

Related