Declaration
public static byte[] ToUtf16(
this string input
)
Summary
Converts the specified string to UTF-16.
Parameters
this string | input |
String to convert to UTF-16. |
Returns
The specified string, converted to a byte-array containing the UTF-16 encoding of the string.