Topic Path: Symbol Reference > Classes > TIdBuffer Class > TIdBuffer Methods > Remove Method
ContentsIndexHome
PreviousUpNext
TIdBuffer.Remove Method

Removes data from the internal storage for the Indy buffer.

procedure Remove(
    AByteCount: Integer
);
Parameters 
Description 
AByteCount 
Number of bytes to remove from the buffer. 

Remove is a procedure used to strip the number of bytes specified in AByteCount from the beginning of the internal storage for the Indy buffer. 

When AByteCount contains the same value as Size, any existing data in the buffer is cleared. Otherwise, Remove copies any remaining values in Bytes from the position indicated in AByteCount to the beginning of the internal storage for the buffer. 

Use Clear to discard all data in the internal storage for the Indy buffer.

TIdBuffer.Clear 

TIdBuffer.Bytes 

CopyTIdBytes

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.