Sign in Join
FPDoc Onlineexperiment

TMemoryStream.SetSize procedure

Member of TMemoryStreampublicIn unit Classes

Sets the size for the memory stream.

Declaration

pascal
procedure SetSize(const NewSize: Int64); override

Description

SetSize sets the size of the memory stream to NewSize. This will set the capacity of the stream to NewSize and correct the current position in the stream when needed.

See also

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