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
// convert string to utf8 bytes
var bytes = utf8.stringToBytes('string to convert');
console.log(bytes);
// convert utf8 bytes back to a string
var str = utf8.bytesToString(bytes);
console.log(str);