no2chem / bigint-buffer

💪🔢 bigint-buffer: Buffer Utilities for TC39 BigInt Proposal
Apache License 2.0
54 stars 11 forks source link

Interest in a `bigint-uint8array` library? #15

Open MicahZoltu opened 5 years ago

MicahZoltu commented 5 years ago

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 commented 7 months ago

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.