Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATStream::Write
virtual CATResult CATStream::Write ( const void *  buffer,
CATUInt32  length 
) [pure 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()

Implemented in CATStreamFile, CATStreamRAM, and CATStreamSub.

Referenced by CopyToStream(), CATImage::PNGWrite(), and CATXMLObject::WriteToStream().


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