Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIRandomAccessStore Class Reference

#include <nsIFileStream.h>

Inheritance diagram for nsIRandomAccessStore:
Inheritance graph
Collaboration diagram for nsIRandomAccessStore:
Collaboration graph

List of all members.

Public Member Functions

void seek (in long whence, in long long offset)
long long tell ()
void setEOF ()

Public Attributes

const PRInt32 NS_SEEK_SET = 0
const PRInt32 NS_SEEK_CUR = 1
const PRInt32 NS_SEEK_END = 2

Detailed Description

Definition at line 79 of file nsIFileStream.h.

Member Function Documentation

NS_IMETHOD nsIRandomAccessStore::GetAtEOF ( PRBool outAtEOF) [pure virtual]

Implemented in FileImpl.

void nsISeekableStream::seek ( in long  whence,
in long long  offset 
) [inherited]


This method moves the stream offset of the steam implementing this interface.

whencespecifies how to interpret the 'offset' parameter in setting the stream offset associated with the implementing stream.
offsetspecifies 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.
NS_IMETHOD nsIRandomAccessStore::SetAtEOF ( PRBool  inAtEOF) [pure virtual]

Implemented in FileImpl.


This method truncates the stream at the current offset.


This method reports the current offset, in bytes, from the start of the stream.

Member Data Documentation

Definition at line 62 of file nsISeekableStream.idl.

Definition at line 68 of file nsISeekableStream.idl.

Definition at line 56 of file nsISeekableStream.idl.

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