S Shiva Nov 12, 2004 #2 Check out UnicodeEncoding.GetBytes(). It has many overloads too. How can I convert a String or a char[] to byte[]?
Check out UnicodeEncoding.GetBytes(). It has many overloads too. How can I convert a String or a char[] to byte[]?
C Charles Evans Nov 12, 2004 #3 Use the ToCharArray method of a string to convert to a character array. Use the GetBytes method of one of the Encoding classes to convert a string to a byte array.
Use the ToCharArray method of a string to convert to a character array. Use the GetBytes method of one of the Encoding classes to convert a string to a byte array.