« XPCOM API Reference
Summary
This method closes the output stream.
void close();
Exceptions Thrown
- NS_BASE_STREAM_WOULD_BLOCK
- Indicates that closing the output stream would block the calling thread for an indeterminate amount of time. This exception may only be thrown if
isNonBlocking returns true.
Remarks
The close method may be called more than once, but subsequent calls are ignored.