Direct read ArrayBuffer data.
Posted:
Thu Apr 16, 2020 2:26 am
by blackknife
I need read binary data from ArrayBuffer. Is it possiable?
Re: Direct read ArrayBuffer data.
Posted:
Wed Mar 03, 2021 9:05 pm
by kohillyang
I guess you could store the pointer of the buffer using the CefV8Value::SetUserData, and directly read ArrayBuffer data by the pointer. If you want to transfer data from javascript to cpp, just create a arraybuffer and write data to the arraybuffer and read it from the cpp.