Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Extension method: byte[] ToUtf16BE(this string)

Declaration

public static byte[] ToUtf16BE(
    this string input
)

Summary

Converts the specified string to UTF-16 (Big Endian).

Parameters

this stringinput String to convert to UTF-16 (Big Endian).

Returns

The specified string, converted to a byte-array containing the UTF-16 (Big Endian) encoding of the string.