cefsharp / cefsharp/CefSharp

Feature Request - ArrayBuffer JavaScript Binding Support

Abierto
#4,358 3 comentarios 0 reacciones 1 asignado Reclamado por @amaitland Ver en GitHub
feature-request
Lenguaje dominante
C#
Estrellas
10.3k
Forks
2.9k
Merge medio
5 d 22 h
PR fusionados (30 d)
4

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.