Sign in Join
FPDoc Onlineexperiment

TStream.SetSize procedure

Member of TStreamprotectedIn unit Classes

Sets the size of the stream.

Declaration

pascal
procedure SetSize(NewSize: LongInt); virtual; overload
procedure SetSize(const NewSize: Int64); virtual; overload

Description

SetSize is the write handler for the Size property. The TStream implementation of SetSize does nothing, but descendant classes may override this methods to allow programmers to set the size of the stream.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.