lvsti / CEF.swift

Swift bindings for the Chromium Embedded Framework
BSD 3-Clause "New" or "Revised" License
94 stars 29 forks source link

Convert CEFTypes to CEFBinaryValue #32

Closed WarWithinMe closed 6 years ago

WarWithinMe commented 6 years ago

So I'm working on multi process mode. I want to send some object (CEFV8Exception, CEFV8StackTrace ... ) directly from Render Process to Browser Process via sendProcessMessage

Is it possible to convert CEFV8Exception to CEFBinaryValue and back? I guess it's not possible or at least not reliable. Because we don't know if the CEFV8Exception contains all the data in its memory block, or have some pointer pointing to other memory region in the Render Process.