xtuc / webassemblyjs

Toolchain for WebAssembly
https://webassembly.js.org
MIT License
779 stars 90 forks source link

Replace NodeJS Buffer with Uint8Array #1144

Closed wikiwong closed 5 months ago

wikiwong commented 1 year ago

This PR replaces the use of the NodeJS specific Buffer object with a JavaScript Uint8Array so that this library may work on Deno, Node, and Web platforms without having to be polyfilled.

Closes #1134