Single File System: Virtual File System Delphi Library
for Archive / Backup with Transparent Compression and Strong Encryption


TStream.Write
Top 

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.


© 2000-2004 AidAim Software LLC Single File System: Single-file Delphi Virtual File Syste