Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: few intro text tweaks/fixes

...

The read() methods return as soon as they find available input data. As a result, the read() method these methods can stop reading data before the array is filled, because there might not be enough data available to fill the array.

...

This rule applies only to read() methods that take an array argument. To read a single byte, use the an InputStream.read() method that takes no arguments and returns an int. To read a single character, use a Reader.read() method that takes no arguments and returns the character read as an int.

...