public interface IObjectInput
| Modifier and Type | Method and Description |
|---|---|
boolean |
readBoolean()
Reads a boolean.
|
byte |
readByte()
Reads a byte.
|
void |
readBytes(byte[] buffer)
Reads a number of bytes and writes them into the buffer.
|
void |
readBytes(byte[] buffer,
int offset,
int length)
Reads a number of bytes and writes them into the buffer
starting from the specified offset.
|
char |
readChar()
Reads a char.
|
int |
readInt()
Reads a 32 bit integer.
|
long |
readLong()
Reads a 64 bit integer.
|
java.lang.Object |
readObject()
Reads an object.
|
short |
readShort()
Reads a 16 bit integer.
|
java.lang.String |
readUTF()
Reads a utf encoded string.
|
boolean readBoolean()
throws java.io.IOException
java.io.IOException - Thrown if a problem occurs.char readChar()
throws java.io.IOException
java.io.IOException - Thrown if a problem occurs.int readInt()
throws java.io.IOException
java.io.IOException - Thrown if a problem occurs.long readLong()
throws java.io.IOException
java.io.IOException - Thrown if a problem occurs.short readShort()
throws java.io.IOException
java.io.IOException - Thrown if a problem occurs.java.lang.String readUTF()
throws java.io.IOException
java.io.IOException - Thrown if a problem occurs.byte readByte()
throws java.io.IOException
java.io.IOException - Thrown if a problem occurs.void readBytes(byte[] buffer)
throws java.io.IOException
buffer - The buffer to fill.java.io.IOException - Thrown if a problem occurs.void readBytes(byte[] buffer,
int offset,
int length)
throws java.io.IOException
buffer - The buffer to fill.offset - The offset to start from.length - The number of bytes to fill.java.io.IOException - Thrown if a problem occurs.java.lang.Object readObject()
throws java.io.IOException
java.io.IOException - Thrown if a problem occurs.