Transferable ArrayBuffer
Newly available since 2024-03-05
The transfer()
and transferToFixedLength()
methods of ArrayBuffer
move a buffer from one context to another (for example, to a worker).
To learn more, see
ArrayBuffer.prototype.detached,
ArrayBuffer.prototype.transfer(),
ArrayBuffer.prototype.transferToFixedLength() at MDN.
Compatibility
- Chrome 114 Released on 2023-05-30
- Chrome Android 114 Released on 2023-05-30
- Edge 114 Released on 2023-06-02
- Firefox 122 Released on 2024-01-23
- Firefox for Android 122 Released on 2024-01-23
- Safari 17.4 Released on 2024-03-05
- Safari on iOS 17.4 Released on 2024-03-05
Specifications
- ECMAScript Language Specification (#sec-arraybuffer.prototype.transfer), from TC39 (Ecma International).