Internet Direct (Indy)
Home
PreviousUpNext
TIdBuffer.Remove Method

Removes data from the internal storage for the Indy buffer.

Pascal
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

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.