Skip to content

TBits.Grow

Expands the bits array to the requested size.

Declaration

Source position: classesh.inc line 702

public 
procedure TBits.Grow(NBit: SizeInt);

Description

Grow expands the bit array so it can at least contain nbit bits. If nbit is less than the current size, nothing happens.

Errors

If there is not enough memory to complete the operation, then an EBitsErroris raised.

See also

Name Description
Size Current size of the array of bits.