Skip to main content
Serializer.prototype.transferArrayBuffer - node__v8.d.ts - Node documentation
method Serializer.prototype.transferArrayBuffer

Usage in Deno

```typescript import { Serializer } from "node:node__v8.d.ts"; ```
Serializer.prototype.transferArrayBuffer(
id: number,
arrayBuffer: ArrayBuffer,
): void
Marks an `ArrayBuffer` as having its contents transferred out of band. Pass the corresponding `ArrayBuffer` in the deserializing context to `deserializer.transferArrayBuffer()`.

Parameters

id: number
A 32-bit unsigned integer.
arrayBuffer: ArrayBuffer
An `ArrayBuffer` instance.

Return Type

void