BufferedReader
Data / CompositeDescription
Reads text from a file line by line. Create with createReader(). Close when done.
Syntax
BufferedReader* reader = createReader("data.txt")
Parameters
None
Returns
BufferedReaderMethods
| readLine() | Reads and returns the next line as std::string. Returns empty string at EOF. |
| ready() | Returns true if the file is open and has more data |
| close() | Closes the file |
Related
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...