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, skipBytes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
public Object readObject() throws ClassNotFoundException, IOException
readObject
in interface ObjectInput
ClassNotFoundException
IOException
public int read() throws IOException
read
in interface ObjectInput
IOException
public int read(byte[] b) throws IOException
read
in interface ObjectInput
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in interface ObjectInput
IOException
public long skip(long n) throws IOException
skip
in interface ObjectInput
IOException
public int available() throws IOException
available
in interface ObjectInput
IOException
public void close() throws IOException
close
in interface ObjectInput
close
in interface AutoCloseable
IOException
Copyright © 2018. All rights reserved.