Read() reads the requested amount of data into a buffer. Will read up to, but not necessarily, [length] bytes. On return, length is set to the number of bytes actually read. buffer *must* be large enough for max value of length.
Implemented in CATStreamFile, CATStreamRAM, and CATStreamSub. Referenced by CATXMLParser::ParseStream(), and CATImage::PNGRead().
|