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