1 | To read and write text, numbers, etc., you layer various filters on top of the basic input and output streams. These classes have additional methods to read and write data, both ascii and binary. |
2 |
For example, reading lines of text from a file:
|
3 | Buffer |
4 | Break into lines |
5 | Read bytes from file |