Implemented by
[scriptable, uuid(8a3eca16-167e-443d-9485-7e84ed822e95)]
interface nsIUnicharStreamLoader : nsISupports
Constants
const
unsigned long
DEFAULT_SEGMENT_SIZE = 4096
Attributes
The channel attribute is only valid inside the onDetermineCharset and onStreamComplete callbacks. Otherwise it will be null.
readonly attribute
nsIChannel
channel
The charset that onDetermineCharset returned, if that's been called.
readonly attribute
ACString
charset
Methods
Initializes the unichar stream loader
@param aChannel the channel to read data from. This should _not_ be
opened; the loader will open the channel itself.
@param aObserver the observer to notify when a charset is needed and when
the load is complete
@param aContext an opaque context pointer
@param aSegmentSize the size of the segments to use for the data, in bytes
void
init(in nsIChannel aChannel, in nsIUnicharStreamLoaderObserver aObserver, in nsISupports aContext, in unsigned long aSegmentSize)
Compare to: