TStream.SetSize
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.
|