deserializer.transferArrayBuffer(id, arrayBuffer)


ArrayBuffer 标记为其内容已被带外传输。在序列化上下文中传递相应的 ArrayBufferserializer.transferArrayBuffer()(或者在使用 SharedArrayBuffer 的情况下返回 serializer._getSharedArrayBufferId()id)。

【Marks an ArrayBuffer as having its contents transferred out of band. Pass the corresponding ArrayBuffer in the serializing context to serializer.transferArrayBuffer() (or return the id from serializer._getSharedArrayBufferId() in the case of SharedArrayBuffers).】