Interface DataInput
- All Known Subinterfaces:
ObjectInput
public interface DataInput
Basic data type input interface.
-
Method Details
-
readBool
Read boolean.- Returns:
- boolean.
- Throws:
IOException
-
readByte
Read byte.- Returns:
- byte value.
- Throws:
IOException
-
readShort
Read short integer.- Returns:
- short.
- Throws:
IOException
-
readInt
Read integer.- Returns:
- integer.
- Throws:
IOException
-
readLong
Read long.- Returns:
- long.
- Throws:
IOException
-
readFloat
Read float.- Returns:
- float.
- Throws:
IOException
-
readDouble
Read double.- Returns:
- double.
- Throws:
IOException
-
readUTF
Read UTF-8 string.- Returns:
- string.
- Throws:
IOException
-
readBytes
Read byte array.- Returns:
- byte array.
- Throws:
IOException
-