deno.com
method Serializer.prototype.transferArrayBuffer
#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