I would like to use buffer library (in order handle binary data) in my website. here is my use case:
const privateKey = Buffer.from('<User's private key here>', 'hex');
buffer works fine in node.js without any additional npm module or script. but somehow,it is not working in web browser.it is showing an error
uncaught refernce error: buffer is not defined
I though we need to add library script file in our html file. please help me to fix this?