Encodes a Char to a ByteArray in UTF-16 using the given ByteOrder.
the ByteArray representing the Char in UTF-16.
the ByteOrder to use.
Encodes a String to a ByteArray using UTF-16.
The encoded ByteArray