Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATStreamSub::Write
CATResult CATStreamSub::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 119 of file CATStreamSub.cpp.

References CAT_ERR_SUBSTREAM_NO_PARENT, CAT_ERR_WRITE_PAST_SPECIFIED_END, CATASSERT, CATRESULT, CATSUCCEEDED, CATTRACE, fCurPos, fLength, fParent, and CATStream::WriteAbs().


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