public interface DataInput extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
boolean |
readBoolean() |
byte |
readByte() |
char |
readChar() |
double |
readDouble() |
float |
readFloat() |
void |
readFully(byte[] b) |
void |
readFully(byte[] b,
int off,
int len) |
int |
readInt() |
long |
readLong() |
short |
readShort() |
int |
readUnsignedByte() |
int |
readUnsignedShort() |
String |
readUTF() |
int |
skipBytes(int n) |
closeboolean readBoolean()
throws IOException
IOExceptionbyte readByte()
throws IOException
IOExceptionchar readChar()
throws IOException
IOExceptiondouble readDouble()
throws IOException
IOExceptionfloat readFloat()
throws IOException
IOExceptionvoid readFully(byte[] b)
throws IOException
IOExceptionvoid readFully(byte[] b,
int off,
int len)
throws IOException
IOExceptionint readInt()
throws IOException
IOExceptionlong readLong()
throws IOException
IOExceptionshort readShort()
throws IOException
IOExceptionint readUnsignedByte()
throws IOException
IOExceptionint readUnsignedShort()
throws IOException
IOExceptionString readUTF() throws IOException
IOExceptionint skipBytes(int n)
throws IOException
IOExceptionCopyright © 2026. All rights reserved.