Receive TypedArrays from a webview


#1

I am loading a page inside a webview element. An script within the webview which is loaded by preload attribute receives some binary data from a server and I need to send these binary data to the application’s background page. Seems like ipcRenderer.sendToHost converts the Float32Array to an object. Since my data is huge this is not an optimum method for me. Is there anyway to directory send the TypedArray to the background page?