GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

6 results across 6 corpora for ArrayBuffer.prototype.transfer().

Developer library 6

Using the WebAssembly JavaScript API

ming counterparts, because they can turn the byte code directly into `Module`/`Instance` instances, cutting out the need to separately put the Response into an ArrayBuffer. This example (see our [instantiate-streaming.html](https://github.com/mdn/webassembly-examples/blob/main/js-api-examples/instantiate-streaming.html) demo on GitHub, and [view it live](https://mdn.github.io/webassembly-examples/js-api-examples/ins

Firefox 122 release notes for developers

distance from the edge of the element (`rect()`) or coordinates and size (`xywh()`). ([Firefox bug 1868722](https://bugzil.la/1868722)). ### JavaScript - The ArrayBuffer.prototype.transfer() and ArrayBuffer.prototype.transferToFixedLength() methods can now be used to [transfer ownership](/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer#transferring_arraybuffers) of memory from one ArrayBuffer to another. A

Firefox 53 release notes for developers

17375)). - The static `length` property of TypedArray objects was changed from 3 to 0 as per ES2016 ([Firefox bug 1317306](https://bugzil.la/1317306)). - SharedArrayBuffer can now be used in DataView objects ([Firefox bug 1246597](https://bugzil.la/1246597)). - In earlier versions of the specification, SharedArrayBuffer objects needed to be explicitly transferred during [structured cloning](/docs/Web/API/Web_Workers_

ArrayBuffer

The **`ArrayBuffer`** object is used to represent a generic raw binary data buffer. It is an array of bytes, often referred to in other languages as a "byte array". You cannot directly manipulate the contents of an `ArrayBuffer`; instead, you create one of the [typed array objects](/docs/Web/JavaScript/Reference/Global_Objects/TypedArray) or a DataView object which represents the buffer in a specific format, and use

ArrayBuffer.prototype.transfer()

The **`transfer()`** method of ArrayBuffer instances creates a new `ArrayBuffer` with the same byte content as this buffer, then detaches this buffer. ## Syntax ```js-nolint transfer() transfer(newByteLength) ``` ### Parameters - `newByteLength` - : The byteLength of the new `ArrayBuffer`. Defaults to the `byteLength` of this `ArrayBuffer`. - If `newByteLength` is smaller than the `byteLength` of this `Arr

ArrayBuffer.prototype.transferToFixedLength()

The **`transferToFixedLength()`** method of ArrayBuffer instances creates a new non-resizable `ArrayBuffer` with the same byte content as this buffer, then detaches this buffer. ## Syntax ```js-nolint transferToFixedLength() transferToFixedLength(newByteLength) ``` ### Parameters - `newByteLength` - : The byteLength of the new `ArrayBuffer`. Defaults to the `byteLength` of this `ArrayBuffer`. - If `newByteL

JSON results · Services directory