Web features explorer

Resizable buffers

Newly available since 2024-07-09
Tags: javascript

The resize() method of an ArrayBuffer and the grow() method of a SharedArrayBuffer, constructed with the maxByteLength option, changes the size of the buffer in place. To learn more, see ArrayBuffer.prototype.resize(), SharedArrayBuffer.prototype.grow() at MDN.

Compatibility