Internet Direct (Indy)
Home
PreviousUpNext
TIdBuffer.GrowthFactor Property

Indicates the threshold for reallocating storage for the buffer.

Pascal
property GrowthFactor: Integer;

GrowthFactor is an Integer property that indicates the threshold to use when reallocating internal storage for the buffer. 

GrowthFactor is used in Remove to determine when unused byte values at the head of the buffer have exceeded the desired threshold, and forces unused space to compacted. 

GrowthFactor is used in Write to indicate the number of unused bytes to allow at the tail of the buffer following removal of unused bytes at the head of the buffer. 

Use Capacity to indicate the maximum number of bytes allowed for the internal storage of the buffer.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.