function PeekChar(const Count : Word) : Char;
Returns a particular character from the dispatcher buffer but leaves it there.
The character is returned as the function result. Pass 1 for Count to return the first available character in the buffer, 2 to return the character after that, and so on.
The following example peeks twice at the dispatcher buffer. Assuming the input buffer contains "ABCD", the first call to PeekChar returns 'C' and the second call generates an EBufferIsEmpty exception.
C := ApxComPort.PeekChar(3);
C := ApxComPort.PeekChar(5);