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

can not use ArrayBuffer #110

Open
2058633972 opened this issue Jun 7, 2023 · 1 comment
Open

can not use ArrayBuffer #110

2058633972 opened this issue Jun 7, 2023 · 1 comment

Comments

@2058633972
Copy link

My project is run in browser,there is no type of Buffer,I try to use ArrayBuffer but fail,so I can not get the SHA of a binary file in browser,can you sport the ArrayBuffer ?

@dawsbot
Copy link

dawsbot commented Apr 8, 2024

Agreed. Buffer has many issues outlined here: https://sindresorhus.com/blog/goodbye-nodejs-buffer

This library should allow Uint8Array as well as Buffer in-order for this to be usable in more places.

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

No branches or pull requests

2 participants