Direct read ArrayBuffer data.

Think CEF could benefit from a new feature or capability? Discuss CEF feature requests here.

Direct read ArrayBuffer data.

Postby blackknife » Thu Apr 16, 2020 2:26 am

I need read binary data from ArrayBuffer. Is it possiable?
blackknife
Techie
 
Posts: 30
Joined: Sun Apr 14, 2019 11:53 pm

Re: Direct read ArrayBuffer data.

Postby kohillyang » Wed Mar 03, 2021 9:05 pm

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.
kohillyang
Newbie
 
Posts: 1
Joined: Wed Mar 03, 2021 9:00 pm


Return to Feature Request Forum

Who is online

Users browsing this forum: No registered users and 0 guests