cefsharp / cefsharp/CefSharp

Feature Request - ArrayBuffer JavaScript Binding Support

Aperta
#4,358 3 commenti 0 reazioni 1 assegnatario Rivendicata da @amaitland Vedi su GitHub
feature-request
Lingua principale
C#
Stelle
10.3k
Fork
2.9k
Merge medio
5g 22h
PR unite (30g)
4

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.