Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
file to read from or stream to
file open flags listed in prio.h (see PR_Open documentation) or -1 to open the file in default mode (PR_RDWR).
file mode bits listed in prio.h or -1 to use the default value (0)
flags specifying various behaviors of the class (see enumerations in the class)
seek
This method moves the stream offset of the steam implementing this interface.
NS_BASE_STREAM_CLOSED if called on a closed stream.
specifies how to interpret the 'offset' parameter in setting the stream offset associated with the implementing stream.
specifies a value, in bytes, that is used in conjunction with the 'whence' parameter to set the stream offset of the implementing stream. A negative value causes seeking in the reverse direction.
Generated using TypeDoc
A stream that allows you to read from a file or stream to a file.