[scriptable, uuid(9037f476-7c08-4729-b690-3e425269802b)]
Constants
Asynchronously load a channel, converting the data to UTF-16. To use this interface, first call init() with a nsIUnicharStreamLoaderObserver that will be notified when the data has been loaded. Then call asyncOpen() on the channel with the nsIUnicharStreamLoader as the listener. The context argument in the asyncOpen() call will be passed to the onStreamComplete() callback.
Attributes
The channel attribute is only valid inside the onDetermineCharset and onStreamComplete callbacks. Otherwise it will be null.
Methods
Initializes the unichar stream loader
@param aObserver the observer to notify when a charset is needed and when
the load is complete
@param aSegmentSize the size of the segments to use for the data, in bytes
Compare to:
