Reading and Writing Data
Adam Freeman · Apress eBooks · 2022
In this chapter, I describe two of the most important interfaces defined by the standard library: the Reader and Writer interfaces. These interfaces are used wherever data is read or written, which means that any source or destination for data can be treated in much the same way so that writing data to a file, for example, is just the same as writing data to a network connection. Table 20-1 puts the features described in this chapter in context.