nsISimpleUnicharStreamFactory

Factory to create objects that implement nsIUnicharInputStream,
converting from a unicode string or a UTF-8 stream.

Methods

createInstanceFromString(aString)

Create a unicode input stream from a unicode string.

createInstanceFromUTF8Stream(aStream)

Create a unicode stream from an input stream in UTF8.