Internet Direct (Indy) Version 9.0.2 Beta
TIdMessageDecoder.ReadLn
Reads a line from an RFC message part.

function ReadLn: string;
Returns
String - Line read from the message part.

Description
ReadLn is a String function in TIdMessageDecoder that a single line from an RFC-822 compliant message part. ReadLn uses SourceStream, cast to a TIdStream instance, as the origin of data for the TIdStream.ReadLn method.

The return value for ReadLn can be an empty string ("") when the line from SourceStream consists of only a line termintaion character sequence, or the end of SourceStream has been reached.