company logo

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

Implementation details

  1. 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.

  2. to list
  3. - internal feature (not documented)
    odaba::String TextFile  :: read ( odaba::String &rString )
    • rString - String object
  4. to list
  5. - 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.

  6. to list