Function: toClonedArrayBuffer()
toClonedArrayBuffer(
view:ArrayBufferView):ArrayBuffer
Defined in: electron/services/ipc/utils.ts:120
Converts an ArrayBufferView into a standalone ArrayBuffer containing exactly the view's bytes.
Parameters
view
Returns
Remarks
Useful for IPC payloads when you want to send a plain ArrayBuffer to the renderer without leaking extra bytes from a larger underlying buffer.