WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.
@mozilla.org/storagestream;1
This component implements the following interfaces:
Properties
PRUint32 nsIStorageStream.length
The length attribute indicates the total number of bytes stored in the nsIStorageStream internal buffer, regardless of any consumption by input streams. Assigning to the length field can be used to truncate the buffer data, but can not be used when either the instance's output stream is in use.
readonly PRBool nsIStorageStream.writeInProgress
True, when output stream has not yet been Close'ed
Methods
| Interface | Method |
|---|---|
| nsIOutputStream |
void close ( )
|
| nsIOutputStream |
void flush ( )
|
| nsIStorageStream |
nsIOutputStream getOutputStream ( PRInt32 startPosition )
|
| nsIStorageStream |
void init ( PRUint32 segmentSize , PRUint32 maxSize , nsIMemory segmentAllocator )
|
| nsIOutputStream |
PRBool isNonBlocking ( )
|
| nsIStorageStream |
nsIInputStream newInputStream ( PRInt32 startPosition )
|
| nsIOutputStream |
PRUint32 write ( char* buf , PRUint32 count )
|
| nsIOutputStream |
PRUint32 writeFrom ( nsIInputStream fromStream , PRUint32 count )
|
| nsIOutputStream |
[noscript] PRUint32 writeSegments ( nsReadSegmentFun reader , voidPtr* closure , PRUint32 count )
|
Reference documentation is generated from Mozilla's source.
