cefsharp / cefsharp/CefSharp

Feature Request - ArrayBuffer JavaScript Binding Support

Open
#4,358 3 comments 0 reactions 1 assignee Claimed by @amaitland View on GitHub
feature-request
Dominant language
C#
Stars
10.3k
Forks
2.9k
Avg merge
5d 22h
Merged PRs (30d)
4

Description

CEF has support for [CefV8Value::CreateArrayBuffer](https://cef-builds.spotifycdn.com/docs/108.4/classCefV8Value.html#aa88b3fe54f77e70eedcfed53f32c8de8) 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:

```js
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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.