Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIScriptableInputStream Interface Reference

nsIScriptableInputStream provides scriptable access to the nsIInputStream. More...

import "nsIScriptableInputStream.idl";

Inheritance diagram for nsIScriptableInputStream:
Inheritance graph
[legend]
Collaboration diagram for nsIScriptableInputStream:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void close ()
 Closes the stream.
void init (in nsIInputStream aInputStream)
 Wrap the given nsIInputStream with this nsIScriptableInputStream.
unsigned long available ()
 Return the number of bytes currently available in the stream.
string read (in unsigned long aCount)
 Read data from the stream.

Detailed Description

nsIScriptableInputStream provides scriptable access to the nsIInputStream.

FROZEN

Definition at line 49 of file nsIScriptableInputStream.idl.


Member Function Documentation

Return the number of bytes currently available in the stream.

Parameters:
_retval[out] parameter to hold the number of bytes if an error occurs, the parameter will be undefined
Returns:
error status

Closes the stream.

Wrap the given nsIInputStream with this nsIScriptableInputStream.

Parameters:
aInputStream[in] parameter providing the stream to wrap

Read data from the stream.

Parameters:
aCount[in] the maximum number of bytes to read
_retval[out] the data

The documentation for this interface was generated from the following file: