ObjectInput.read

Reads into an array of bytes. This method will block until some input is available. @param b the buffer into which the data is read @return the actual number of bytes read, -1 is returned when the end of the stream is reached. @exception IOException If an I/O error has occurred.

  1. int read()
  2. int read(byte[] b)
    interface ObjectInput
    int
    read
    (
    byte[] b
    )
  3. int read(byte[] b, int off, int len)

Meta