transferArrayBuffer

fun transferArrayBuffer(id: Number, arrayBuffer: ERROR CLASS: Symbol not found for ArrayBuffer)(source)

Marks an ArrayBuffer as having its contents transferred out of band. Pass the corresponding ArrayBuffer in the deserializing context to deserializer.transferArrayBuffer().

Parameters

id

A 32-bit unsigned integer.

arrayBuffer

An ArrayBuffer instance.