Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request - ArrayBuffer JavaScript Binding Support #4358

Open
amaitland opened this issue Jan 10, 2023 · 2 comments
Open

Feature Request - ArrayBuffer JavaScript Binding Support #4358

amaitland opened this issue Jan 10, 2023 · 2 comments
Assignees

Comments

@amaitland
Copy link
Member

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.

@ray007
Copy link

ray007 commented Jan 17, 2023

Is this not something for SharedArrayBuffer?

@amaitland
Copy link
Member Author

Is this not something for SharedArrayBuffer?

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants