Like @aphistic, I am also trying to use Rust through wasm-bindgen. Currently, I build with an automated script that run wasm-packet -t nodejs
and then use sed
to replace the Buffer
-dependent methods with their counterparts when targeting browser
. This works, and if anyone wants this solution just message me and I'll publish it, but I would love to have the performance benefits of Buffer
.
Posts made by Athestus
-
RE: Allow access to node's Buffer class