-
Notifications
You must be signed in to change notification settings - Fork 0
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
Expose all prototype methods as statics methods that accepts Uint8Array values #1
Comments
It is also worth considering significant API surface overlaps with
So I think it's fare to say it's mostly about text encoding / decoding in various encodings there for it might make sense to create Node
However type arrays offer |
Looks like @mikeal is on it https://github.com/mikeal/bytesish |
|
You're are right. It's just my primary goal had being to get rid of |
As per conversation on twitter https://twitter.com/hugomrdias/status/1114678814754463746 I propose we update this library to expose all methods as static methods so that
Uint8Array
instances can be passed and to make it possible to makeUint8Array
a canonical type for passing around bytes rather than node's Buffer.If all works out we can attempt to uplift changes to the upstream.
/cc @lidel @hugomrdias @mikeal
The text was updated successfully, but these errors were encountered: