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

Interest in a bigint-uint8array library? #15

Open
MicahZoltu opened this issue Mar 27, 2019 · 1 comment
Open

Interest in a bigint-uint8array library? #15

MicahZoltu opened this issue Mar 27, 2019 · 1 comment

Comments

@MicahZoltu
Copy link

Buffer is node only, while Uint8Array is part of ES spec and available on browser and Node. Because of this, I use Uint8Array everywhere rather than Buffer. It would be nice if a library similar to this one existed that supported Uint8Array rather than Buffer.

@vekexasia
Copy link

Hey @MicahZoltu I encountered the very same problem myself and needed the library to work in browser+node and work with signed bigint as well (unfortunately bigint-buffer here does not handle the sign).

So i created @vekexasia/bigint-uint8array which is part to my bigger bigint-swissknife monorepo. I guess now it's too late for you but i'm posting it here in case someone else finds this issue in the future.

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