convert string to byte in node js code example
Example: string to byte array javascript
UnicodeEncoding encoding = new UnicodeEncoding();
byte[] bytes = encoding.GetBytes("sameeraz");
UnicodeEncoding encoding = new UnicodeEncoding();
byte[] bytes = encoding.GetBytes("sameeraz");