# **TextFile** class reference

**TextFile** class allow read/write text data from/to file.

## Functions

### TextFile.open

``TextFile.open(fileName, flags)``

### TextFile.eof

``TextFile.eof()``

### TextFile.close

``TextFile.close()``

### TextFile.toString

``TextFile.toString()``

### TextFile.readline

``TextFile.readline()``

### TextFile.writeline

``TextFile.writeline(text)``

### TextFile.write

``TextFile.write(text)``

### TextFile.setEncoding

``TextFile.setEncoding(encoding)``
