The former will throw when the end of the stream is reached, rather than requiring the caller to check for -1.
3.8 KiB
3.8 KiB
The former will throw when the end of the stream is reached, rather than requiring the caller to check for -1.