Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsISeekableStream Interface Reference

import "nsISeekableStream.idl";

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

List of all members.

Public Member Functions

void seek (in long whence, in long long offset)
 seek
long long tell ()
 tell
void setEOF ()
 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 51 of file nsISeekableStream.idl.


Member Function Documentation

void nsISeekableStream::seek ( in long  whence,
in long long  offset 
)

seek

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

Parameters:
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.

setEOF

This method truncates the stream at the current offset.

tell

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 interface was generated from the following file: