DataInput.readFully
Interface Overview | Interface Members |
This Package |
All Packages
public abstract void readFully( byte b[] ) throws IOException
Parameters
- b
- the buffer into which the data is read.
Description
Reads b.length bytes into the byte array. This
method blocks until all the bytes are read.
Exceptions
EOFException
if this stream reaches the end before reading
all the bytes.
Exceptions
IOException
if an I/O error occurs.
public abstract void readFully( byte b[],
int off,
int len ) throws IOException
Parameters
- b
- the buffer into which the data is read.
Description
Reads b.length bytes into the byte array. This
method blocks until all the bytes are read.
Exceptions
EOFException
if this stream reaches the end before reading
all the bytes.
Exceptions
IOException
if an I/O error occurs.