| 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() |
String |
readLine()
Deprecated.
|
long |
readLong() |
short |
readShort() |
int |
readUnsignedByte() |
int |
readUnsignedShort() |
String |
readUTF() |
int |
skipBytes(int n) |
ByteBuffer |
slice(int n) |
String |
toString() |
static DataInput |
wrap(byte[] b) |
static DataInput |
wrap(byte[] b,
int off,
int len) |
static DataInput |
wrap(ByteBuffer bb) |
public static DataInput wrap(ByteBuffer bb)
public static DataInput wrap(byte[] b)
public static DataInput wrap(byte[] b, int off, int len)
public ByteBuffer slice(int n)
public void readFully(byte[] b,
int off,
int len)
public boolean readBoolean()
readBoolean in interface DataInputpublic int readUnsignedByte()
readUnsignedByte in interface DataInputpublic int readUnsignedShort()
readUnsignedShort in interface DataInputpublic double readDouble()
readDouble in interface DataInput@Deprecated public String readLine()
public String readUTF() throws IOException
readUTF in interface DataInputIOExceptionCopyright © 2021. All rights reserved.