browserWindow.send vs browserWindow.webContents.send


#1

Both seem to work and do the same thing. What is the difference?

I am streaming serial data from the main process to the renderer process for visual feedback. Is there a more efficient method than this method which sends strings? Is there a way to send binary data? Just wondering.