Skip to content

toArrayBuffer #22

@matthewleon

Description

@matthewleon

There should probably be a way to convert these to ArrayBuffer. It's pretty simple to do: https://stackoverflow.com/questions/8609289/convert-a-binary-nodejs-buffer-to-javascript-arraybuffer

The question it raises is whether that would mean 1) exporting the ArrayBuffer type from this package, 2) adding a dependency to purescript-arraybuffer-types, or 3) moving this functionality somewhere else (or does it exist somewhere else already?)

My feeling is that option 2) makes some sense, though it's breaking.

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