public class KryoObjectInput extends KryoDataInput implements ObjectInput
ObjectInput. Note that this is not an implementation of ObjectInputStream
which has special handling for serialization in Java such as support for readResolve.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) |
Object |
readObject() |
long |
skip(long n) |
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, setInput, skipBytesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytespublic Object readObject() throws ClassNotFoundException, IOException
readObject in interface ObjectInputClassNotFoundExceptionIOExceptionpublic int read()
throws IOException
read in interface ObjectInputIOExceptionpublic int read(byte[] b)
throws IOException
read in interface ObjectInputIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in interface ObjectInputIOExceptionpublic long skip(long n)
throws IOException
skip in interface ObjectInputIOExceptionpublic int available()
throws IOException
available in interface ObjectInputIOExceptionpublic void close()
throws IOException
close in interface ObjectInputclose in interface AutoCloseableIOExceptionCopyright © 2023. All rights reserved.