DataInput.readShort

DataInput.readShort

Interface Overview | Interface Members | This Package | All Packages

Syntax
public abstract short readShort() throws IOException
Returns
the 16-bit value read.
Description
Reads a 16-bit value from the input stream.

Exceptions
EOFException if this stream reaches the end before reading all the bytes.
Exceptions
IOException if an I/O error occurs.