Package com.esotericsoftware.kryo.io
Class KryoObjectInput
java.lang.Object
com.esotericsoftware.kryo.io.KryoDataInput
com.esotericsoftware.kryo.io.KryoObjectInput
- All Implemented Interfaces:
DataInput
,ObjectInput
,AutoCloseable
A kryo implementation of
ObjectInput
. Note that this is not an implementation of ObjectInputStream
which has special handling for serialization in Java such as support for readResolve.-
Field Summary
FieldsFields inherited from class com.esotericsoftware.kryo.io.KryoDataInput
input
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.esotericsoftware.kryo.io.KryoDataInput
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, setInput, skipBytes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.io.DataInput
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
-
Field Details
-
kryo
-
-
Constructor Details
-
KryoObjectInput
-
-
Method Details
-
readObject
- Specified by:
readObject
in interfaceObjectInput
- Throws:
ClassNotFoundException
IOException
-
read
- Specified by:
read
in interfaceObjectInput
- Throws:
IOException
-
read
- Specified by:
read
in interfaceObjectInput
- Throws:
IOException
-
read
- Specified by:
read
in interfaceObjectInput
- Throws:
IOException
-
skip
- Specified by:
skip
in interfaceObjectInput
- Throws:
IOException
-
available
- Specified by:
available
in interfaceObjectInput
- Throws:
IOException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceObjectInput
- Throws:
IOException
-