CefSharp icon indicating copy to clipboard operation
CefSharp copied to clipboard

Feature Request - ArrayBuffer JavaScript Binding Support

Open amaitland opened this issue 3 years ago • 3 comments

CEF has support for CefV8Value::CreateArrayBuffer which allows for creating an array buffer using an unmanaged section of memory.

In JavaScript it's likely the method would look something like the following:

cefSharp.createArrayBuffer(size);

There's no way to directly access the data from an existing ArrayBuffer. For an existing ArrayBuffer I suspect we'd have to copy it into our CEF created instance.

I'm looking for user feedback as to how you'd like to use ArrayBuffer with the existing Async JavaScript Binding implementation.

Anyone interested please let me know your usage scenarior.

amaitland avatar Jan 10 '23 00:01 amaitland

Is this not something for SharedArrayBuffer?

ray007 avatar Jan 17 '23 08:01 ray007

Is this not something for SharedArrayBuffer?

It's unlikely support for a shared section of memory will be included in the initial implementation.

amaitland avatar Jan 17 '23 09:01 amaitland