Topic Path: Pending > TIdStream.ReadLn@Integer@Boolean
ContentsIndexHome
PreviousUpNext
TIdStream.ReadLn@Integer@Boolean

Specifies the method used for reading a line of data from the stream.

Parameters 
Description 
AMaxLineLength 
Maximum line length allowed. Default is -1.
 
AExceptionIfEOF 
Indicates an exception is raised when an unexpected end of stream is encountered. Default is FALSE. 

String - Line of data read from the stream.

ReadLn is an abstract virtual String function that specifies the method used to read a line of data from the stream. 

AMaxLineLength indicates the maximum line length allowed when reading from the stream. The default value is -1, and indicates that all data up to an end-of-stream or an EOL character sequence is used when reading from the stream. 

AExceptionIfEOF indicates if an exception is raised when an unexpected end of stream is encountered. The default value is False. 

ReadLn must be implemented in a descendant class that provides access to a stream implentation for the platform or Operating System.

TIdStreamVCL 

TIdStreamVCLDotNet 

TIdStreamVCLWin32

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