[File] read | Manual
Reads contents of a file. Send this message to a file to read the entire contents in
one go. For big files you might want to prefer a streaming approach to avoid
memory exhaustion (see readBytes etc).
data := File new: '/path/to/mydata.csv', read. In the example above we read the contents of the entire CSV file callled mydata.csv in the variable called data.
This API reference guide has been generated automatically from source code comments using the shtml.ctr script.