Reads into an array of bytes. This method will block until some input is available.
Parameters:
b
Returns: the actual number of bytes read, -1 is returned when the end of the stream is reached.
Exceptions:
IOException
Diagram: ObjectInputStream