Closed cdjackson closed 9 years ago
The doc for inputStream.read() states -:
The value byte is returned as an int in the range 0 to 255. If no byte is available because the end of the stream has been reached, the value -1 is returned.
The doc for inputStream.read() states -: