Topic Path: Pending > TIdMessageDecoder.ReadLnSplit@Boolean
ContentsIndexHome
PreviousUpNext
TIdMessageDecoder.ReadLnSplit@Boolean

Reads a line from an RFC message part.

Parameters 
Description 
AWasSplit 
Indicates if the line was split due to excessive line length. 

string - Line values read from the SourceStream.

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

ReadLnSplit uses the maximum line length specified for the Indy library to avoid buffer overrun situations. 

AWasSplit is a variable parameter that indicates if the line was split due to excessive line length. 

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

TIdStream 

TIdStream.ReadLnSplit

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