how to convert a string to byte array in javascript 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");