You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I found myself using your BufferList today. I was initially very confused because the docs mostly assume node.js and I am developing for browser. I needed a Uint8Array but I could not figure out how to get one. A friend explained that it is very simple to get a uint8array out of a node buffer but I did not know that coming in.
Because your library does work in browser, maybe it would be a good idea to add a sentence or two explaining how to convert to and from a Buffer from a uint8array/ArrayBuffer, or something like "to get typed array types like Uint8Array, read here" with a link to the relevant section from the Node documentation. Thanks.
The text was updated successfully, but these errors were encountered:
Hi, I found myself using your BufferList today. I was initially very confused because the docs mostly assume node.js and I am developing for browser. I needed a
Uint8Array
but I could not figure out how to get one. A friend explained that it is very simple to get a uint8array out of a node buffer but I did not know that coming in.Because your library does work in browser, maybe it would be a good idea to add a sentence or two explaining how to convert to and from a Buffer from a uint8array/ArrayBuffer, or something like "to get typed array types like Uint8Array, read here" with a link to the relevant section from the Node documentation. Thanks.
The text was updated successfully, but these errors were encountered: