What is the ReScript equivalent of Buffer.from?

I see in the API Docs there are tons of ArrayBuffer style things, but not sure where to find Buffer.from.

You’re probably should look into rescript-nodejs project, it has Buffer support with quite good documentation:

rescript-nodejs/Buffer.res at main · TheSpyder/rescript-nodejs · GitHub


Perfect, thanks a lot!