
[] 7.4 Buffered Input and Output Streams
93
YileReader and YileWriter classes have an equivalent in YilelnputStream and Yile0utput-
Stream, respectively.
Line 15 uses the form of the java.io.Yile0utputStream.write method that outputs a
single character, c, at a time to the output stream, out.
7.4 Buffered Input and Output Streams
If a large amount of data is being read from a source or written to a destination, buffering
will make the processing more efficient. Instead of accessing the destination for every write,
by using a buffered output stream, data is written to a buffer; when the buffer is ...