public class KryoObjectInput extends KryoDataInput implements java.io.ObjectInput
ObjectInput. Note that this is not an implementation of ObjectInputStream
which has special handling for serialization in Java such as support for readResolve.| Modifier and Type | Field and Description |
|---|---|
private Kryo |
kryo |
input| Constructor and Description |
|---|
KryoObjectInput(Kryo kryo,
Input in) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
java.lang.Object |
readObject() |
long |
skip(long n) |
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, setInput, skipBytesprivate final Kryo kryo
public java.lang.Object readObject()
throws java.lang.ClassNotFoundException,
java.io.IOException
readObject in interface java.io.ObjectInputjava.lang.ClassNotFoundExceptionjava.io.IOExceptionpublic int read()
throws java.io.IOException
read in interface java.io.ObjectInputjava.io.IOExceptionpublic int read(byte[] b)
throws java.io.IOException
read in interface java.io.ObjectInputjava.io.IOExceptionpublic int read(byte[] b,
int off,
int len)
throws java.io.IOException
read in interface java.io.ObjectInputjava.io.IOExceptionpublic long skip(long n)
throws java.io.IOException
skip in interface java.io.ObjectInputjava.io.IOExceptionpublic int available()
throws java.io.IOException
available in interface java.io.ObjectInputjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.ObjectInputclose in interface java.lang.AutoCloseablejava.io.IOException