Skip to content

Import Bytes #1367

Description

@styfle

Specification title

Import Bytes

Specification or proposal URL (if available)

https://github.com/tc39/proposal-import-bytes

Explainer URL (if available)

No response

Proposal author(s)

@styfle

MDN URL

No response

Caniuse.com URL

No response

Bugzilla URL

No response

Mozillians who can provide input

No response

WebKit standards-position

WebKit/standards-positions#626

Other information

import bytes from "./photo.png" with { type: "bytes" };

The bytes are returned as a Uint8Array backed by an immutable arraybuffer.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status
    Position is proposed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions