Skip to content

ArrayBuffer <-> Buffer interop? #177

Closed
@YurySolovyov

Description

@YurySolovyov

Any updates on this?
If I remember correctly it had some performance problems, but v8 changed a lot since then.
It could be useful for "mixed" node environments such as node-webkit and atom-shell, where you have browser-side APIs that deals only with ArrayBuffer.

So request is to have symmetrical Buffer.toArrayBuffer() and Buffer.from(ArrayBuffer) API, or some other way to make one from the other.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions