An interface that allows writing unicode data.
Write a single character to the stream. When writing many characters,
prefer the string-taking write method.
@retval true The character was written successfully
@retval false Not all bytes of the character could be written.
Write a string to the stream.
@retval true The string was written successfully
@retval false Not all bytes of the string could be written.
Flush the stream. This finishes the conversion and writes any bytes that
finish the current byte sequence.
It does NOT flush the underlying stream.
@see nsIUnicodeEncoder::Finish
Close the stream and free associated resources. This also closes the
underlying stream.