Skip to content

Handle ArrayBuffer encoding #21

@apowers313

Description

@apowers313

Currently if an attribute in a JSON object being encoded is of type ArrayBuffer, it is silently ignored. It would be nice if somewhere around line 158, encode detected that the type was ArrayBuffer and promoted it to a Uint8Array to be encoded properly.

The same request may apply for handling other TypedArrays and DataViews.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions