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, skipBytes
public java.lang.Object readObject() throws java.lang.ClassNotFoundException, java.io.IOException
readObject
in interface java.io.ObjectInput
java.lang.ClassNotFoundException
java.io.IOException
public int read() throws java.io.IOException
read
in interface java.io.ObjectInput
java.io.IOException
public int read(byte[] b) throws java.io.IOException
read
in interface java.io.ObjectInput
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in interface java.io.ObjectInput
java.io.IOException
public long skip(long n) throws java.io.IOException
skip
in interface java.io.ObjectInput
java.io.IOException
public int available() throws java.io.IOException
available
in interface java.io.ObjectInput
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.ObjectInput
close
in interface java.lang.AutoCloseable
close
in class KryoDataInput
java.io.IOException
Copyright © 2019. All Rights Reserved.