TStream.Write
TStream
Introduces a pure virtual method for writing to the stream.
function Write(const Buffer; Count: Longint): Longint; virtual; abstract;
Description
Each descendant stream object defines a Write method that writes data to its particular storage medium (such as memory or a disk file). Write attempts to write up to Count bytes to Buffer, and returns the number of bytes actually written.
All the other data-writing methods of a stream (WriteBuffer, WriteComponent) call Write to do their actual writing.
|