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


TStream.SetSize
Top 

TStream
Provides a placeholder for a method to change the size of the streamed resource.

procedure SetSize(NewSize: Longint); virtual;

Description
SetSize does nothing in TStream. Descendant stream classes can override this method to set the Size property of their objects. SetSize is the write procedure for the Size property.

Note:   SetSize is introduced in TStream, even though it does nothing, because it is not possible to change the definition of a property in a descendant class. SetSize must therefore be introduced when Size is introduced.


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