Skip to content

Feature Request - ArrayBuffer JavaScript Binding Support #4358

Description

@amaitland

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.

Activity

  1. self-assigned this
    on Jan 10, 2023
  2. ray007 commented on Jan 17, 2023

    @ray007

    Is this not something for SharedArrayBuffer?

  3. amaitland commented on Jan 17, 2023

    @amaitland
    MemberAuthor

    Is this not something for SharedArrayBuffer?

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

  4. qwertzou commented on Mar 22, 2025

    @qwertzou

    High speed data exchange between C # and JS may require the use of an ArrayBuffer

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions