public class KryoObjectInput extends KryoDataInput implements java.io.ObjectInput
ObjectInput which reads data from an Input.
Note this is not an implementation of ObjectInputStream which has special handling for Java serialization, such
as support for readResolve.
input| Constructor and Description |
|---|
KryoObjectInput(Kryo kryo,
Input input) |
| 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, skipBytespublic 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.AutoCloseableclose in class KryoDataInputjava.io.IOExceptionCopyright © 2019. All Rights Reserved.