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


TSFSFileStream.Write
TSFSFileStream
Top 


Writes Count bytes from the Buffer to the current position in the resource file with optional transparent compression and encryption.

function Write(const Buffer; Count: Longint): Longint; override;

Description
Use Write to write Count bytes to the resource file associated with the stream, starting at the current position. After writing to the resource, Write advances the current position by the number of bytes written, and returns the number of bytes written.

All other data-writing methods of a stream (WriteBuffer, WriteComponent) call Write to do the actual writing.


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