The RWUCharToByteOutputStreamImp Class
RWUCharToByteOutputStreamImp connects a Unicode character stream to a binary stream. The UTF-16 characters are written as a sequence of bytes using the byte ordering (little endian or big endian) supported by the system on which the code is executed. The UTF-16 character U+FEFF is inserted in the stream as the first character to indicate to the corresponding input streams the byte ordering used when generating the output byte sequence.