Skip to main content
Serializer.prototype.transferArrayBuffer - v8 - Node documentation
method Serializer.prototype.transferArrayBuffer

Usage in Deno

import { Serializer } from "node:v8";
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
Back to top