public interface DataInput
| Modifier and Type | Method and Description |
|---|---|
boolean |
readBool()
Read boolean.
|
byte |
readByte()
Read byte.
|
byte[] |
readBytes()
Read byte array.
|
double |
readDouble()
Read double.
|
float |
readFloat()
Read float.
|
int |
readInt()
Read integer.
|
long |
readLong()
Read long.
|
short |
readShort()
Read short integer.
|
String |
readUTF()
Read UTF-8 string.
|
boolean readBool()
throws IOException
IOExceptionbyte readByte()
throws IOException
IOExceptionshort readShort()
throws IOException
IOExceptionint readInt()
throws IOException
IOExceptionlong readLong()
throws IOException
IOExceptionfloat readFloat()
throws IOException
IOExceptiondouble readDouble()
throws IOException
IOExceptionString readUTF() throws IOException
IOExceptionbyte[] readBytes()
throws IOException
IOExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.