int value. Let a be the first byte read, b be the second byte, c be the third byte, and d be the fourth byte. The value returned is:
<code> (((a & 0xff) << 24) | ((b & 0xff) << 16) | ((c & 0xff) << 8) | (d & 0xff)) </code>This method is suitable for reading bytes written by the
writeInt method of interface DataOutput.
@return the int value read.
@exception EOFException if this stream reaches the end before reading all the bytes.
@exception IOException if an I/O error occurs.
| |
| |
| |
| |
| |
| |
| |
| |