The Javascript Uint8Array buffer property returns the ArrayBuffer referenced by a Uint8Array.
Uint8Array.buffer
The Javascript Uint8Array buffer property is a read only property.
The value is set when the Uint8Array is constructed and cannot be changed.
Using the Javascript Uint8Array buffer property
var buffer = new ArrayBuffer(8); var uint16 = new Uint16Array(buffer); uint16.buffer;