Sign in Join
FPDoc Onlineexperiment

TBufStream.Capacity property

Member of TBufStreampublicIn unit BufStream

Current buffer capacity.

Declaration

pascal
property Capacity: Integer read FCapacity write SetCapacity;

Description

Capacity is the amount of memory the buffer occupies. To change the buffer size, the capacity can be set. Note that the capacity cannot be set to a value that is less than the current buffer size, i.e. the current amount of data in the buffer.

See also

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