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

Replace NodeJS Buffer with Uint8Array #1144

Merged
merged 4 commits into from
Mar 13, 2024
Merged

Conversation

wikiwong
Copy link
Contributor

@wikiwong wikiwong commented Jul 26, 2023

This PR replaces the use of the NodeJS specific Buffer object with a JavaScript Uint8Array so that this library may work on Deno, Node, and Web platforms without having to be polyfilled.

Closes #1134

@wikiwong wikiwong mentioned this pull request Jul 26, 2023
Copy link
Owner

@xtuc xtuc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice! thanks for your work.

@xtuc xtuc merged commit e247ed4 into xtuc:master Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

use uint8array instead
2 participants