A filestream allows you to read/write data from/to a file.
| Extends: | |
| Functions: |
|
| Inherited Properties: | |
| Inherited Methods: |
|
Opens a new filestream. The mode parameter should be one of the following:
| Mode | Description |
|---|---|
| "r" | Open a filestream for reading. |
| "w" | Open a filestream for writing. If the file does not already exist, it will be created. If the file already exists, it will be emptied. |
| "u" | Open a filestream for read/write updating. If the file does not already exist, it will be created. |
| "a" | Open a filestream for read/write appending. This is the same as opening a filestream for updating and seeking to the end. |
See also Resource paths