Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATStreamRAM::Write
CATResult CATStreamRAM::Write ( const void *  buffer,
CATUInt32  length 
) [virtual]

Write() writes the requested amount of data from a buffer.

Incomplete writes are treated as an error.

Parameters:
buffer - source buffer to write from.
length - length of data to write.
Returns:
CATResult - CAT_SUCCESS on success
See also:
Read()

Implements CATStream.

Definition at line 193 of file CATStreamRAM.cpp.

References CAT_ERR_FILE_NOT_OPEN, CAT_SUCCESS, CATASSERT, CATFAILED, CATRESULT, fCacheSize, fCurPos, fRamCache, fSize, IsOpen(), and ReallocCache().


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