Sign in Join
FPDoc Onlineexperiment

TMemoryStream.Clear procedure

Member of TMemoryStreampublicIn unit Classes

Zeroes the position, capacity and size of the stream.

Declaration

pascal
procedure Clear

Description

Clear sets the position and size to 0, and sets the capacity of the stream to 0, thus freeing all memory allocated for the stream.

See also

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