title: Read string with indy using custom terminator
body: <p>I am using a TIdTcpServer component to implement a basic server side application. I have clients witch send strings to the server,ascii encoded, ending in these to characters #@.</p>
  
  <p>eg : </p>
  
  <blockquote>
    <p>this_is_a_sample#@
         thisis_another_sample#@</p>
  </blockquote>
  
  <p>My OnExecute method is the following : </p>
  
  <pre><code>procedure TLX8511.ProcessEvent(AContext: TIdContext);
  var
    recv : String;
  begin
      with AContext.Connection.IOHandler do
      begin
            CheckForDataOnSource(20);
            if not InputBufferIsEmpty then
            begin
                recv := ReadLn('#@');
                WriteLn(recv);
            end;
      end;
  end
  </code></pre>
  
  <p>However when the ReadLn is executed I receive a wierd error : <strong>Buffer terminator must be specified</strong></p>
  
  <p>What I am doing wrong ?</p>
  
  <p><em><strong>LE : I am using Indy with lazarus on linux so this might be some porting issue</em></strong></p>
  
  <p>Thank you.</p>