-
-
Notifications
You must be signed in to change notification settings - Fork 240
Convert Uint8Array to Buffer #22
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
Comments
Perhaps we should. But I don't want people to use We also can't change |
Another idea I had was to publish a separate module just for efficient augmenting and always update the two modules in lockstep if anything changes. |
Uhh I like the second one! So basically we'll have to
|
Published buffer 2.1.8 which exposes Published typedarray-to-buffer. Enjoy! |
Nice and fast iteration (as always!). Thanks a lot. |
Also, the tests are still running on testling, so ignore the failing badge which Github has cached. |
Thanks for this, so it was really this easy to convert to buffer |
Should we expose the
augment
function somehow to allow for converting an Uint8Array to a Buffer without having to do a copy (which I believenew Buffer(uint8array)
does now) ?The text was updated successfully, but these errors were encountered: