Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GR-57591] Implement Uint8Array to/from base64 and hex #856

Open
fniephaus opened this issue Sep 26, 2024 · 0 comments
Open

[GR-57591] Implement Uint8Array to/from base64 and hex #856

fniephaus opened this issue Sep 26, 2024 · 0 comments
Assignees
Labels
proposal ECMAScript Proposals

Comments

@fniephaus
Copy link
Member

TL;DR

We plan to implement Uint8Array to/from base64 and hex in GraalJS.

Details

Base64 is a common way to represent arbitrary binary data as ASCII. JavaScript has Uint8Arrays to work with binary data, but no built-in mechanism to encode that data as base64, nor to take base64'd data and produce a corresponding Uint8Arrays. This is a proposal to fix that. It also adds methods for converting between hex strings and Uint8Arrays.

@fniephaus fniephaus added the proposal ECMAScript Proposals label Sep 26, 2024
@fniephaus fniephaus added this to the Planned for the Future milestone Sep 26, 2024
@fniephaus fniephaus changed the title Implement Uint8Array to/from base64 and hex [GR-57591] Implement Uint8Array to/from base64 and hex Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal ECMAScript Proposals
Projects
Status: Todo
Development

No branches or pull requests

2 participants