readInt()
Declaration:public final int readInt()
throws IOException
Description:
See the general contract of the readInt method of DataInput.
Bytes for this operation are read from the contained input stream.
Specified By: readInt in interface DataInput
Returns: the next four bytes of this input stream, interpreted as an int.
Throws:
EOFException - if this input stream reaches the end before reading four bytes.
IOException - if an I/O error occurs.
readLong()
Declaration:
public final long readLong()
throws IOException
Description:
See the general contract of the readLong method of DataInput.
Bytes for this operation are read from the contained input stream.
Specified By: readLong in interface DataInput
Returns: the next eight bytes of this input stream, interpreted as a long.
Throws:
EOFException - if this input stream reaches the end before reading eight bytes.
IOException - if an I/O error occurs.
readFloat()
Declaration:
public final float readFloat()
throws IOException
Description:
See the general contract of the readFloat method of DataInput.
Bytes for this operation are read from the contained input stream.
Specified By: readFloat in interface DataInput
Returns: the next four bytes of this input stream, interpreted as a float.
Throws:
EOFException - if this input stream reaches the end before reading four bytes.
IOException - if an I/O error occurs.
No comments:
Post a Comment