convert string to bytes 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");