Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATStream::SeekFromEnd
virtual CATResult CATStream::SeekFromEnd ( CATInt32  offset  )  [pure virtual]

SeekFromEnd() seeks from the end of the stream.

For example, an offset of 5 will be 5 bytes before the end of the stream.

Some streams might not be seekable - see IsSeekable()

Parameters:
offset - signed offset from end of stream
Returns:
CATResult - CAT_SUCCESS on success.
See also:
IsSeekable(), SeekRelative(), SeekAbsolute()

Implemented in CATStreamFile, CATStreamRAM, and CATStreamSub.


Generated on Mon Feb 11 04:10:56 2008 for Game Accessibility Suite by doxygen 1.5.4