TextFile :: read - Read number of bytes from file
The function allows reading a number of characters. The function is supported for simple text processing, only. When calling the function for any other kind of text processing or when an error occurred while reading the file, the function throws an exception.
Return value: String value ( odaba::String & )
Implementation overview
- Read next characters
TextFile :: read ( iLength ) - - internal feature (not documented)
TextFile :: read ( rString ) - - internal feature (not documented)
TextFile :: read ( rString, iLength )
Implementation details
-
Read next characters
odaba::String TextFile  :: read ( int32 iLength )
The function allows reading a iLength of bytes from text file. When no length is passed (iLength=0), the remaining part of the file is read. Data read from the file will be returned in a string.
- iLength
- Length
The length is the size allocated for an instance or area.
to list
- iLength
- Length
-
- internal feature (not documented)
odaba::String TextFile  :: read ( odaba::String &rString )
- rString - String object
to list
-
- internal feature (not documented)
odaba::String TextFile  :: read ( odaba::String &rString, int32 iLength )
- rString - String object
- iLength
- Length
The length is the size allocated for an instance or area.
to list