DataInputStream.readFully

See the general contract of the {@code readFully} method of {@code DataInput}. <p> Bytes for this operation are read from the contained input stream.

@param b the buffer into which the data is read. @throws NullPointerException if {@code b} is {@code null}. @throws EOFException if this input stream reaches the end before reading all the bytes. @throws IOException the stream has been closed and the contained input stream does not support reading after close, or another I/O error occurs. @see java.io.FilterInputStream#inputStream

  1. void readFully(byte[] b)
    class DataInputStream
    final
    void
    readFully
    (
    byte[] b
    )
  2. void readFully(byte[] b, int off, int len)

Meta