public final class KryoUtil extends Object
Modifier and Type | Method and Description |
---|---|
static ObjectInput |
asObjectInput(com.esotericsoftware.kryo.io.Input input,
com.esotericsoftware.kryo.Kryo kryo) |
static ObjectOutput |
asObjectOutput(com.esotericsoftware.kryo.io.Output output,
com.esotericsoftware.kryo.Kryo kryo) |
static com.esotericsoftware.kryo.Kryo |
newKryo() |
static void |
registerCommonClasses(com.esotericsoftware.kryo.Kryo kryo) |
public static com.esotericsoftware.kryo.Kryo newKryo()
public static void registerCommonClasses(com.esotericsoftware.kryo.Kryo kryo)
public static ObjectOutput asObjectOutput(com.esotericsoftware.kryo.io.Output output, com.esotericsoftware.kryo.Kryo kryo)
public static ObjectInput asObjectInput(com.esotericsoftware.kryo.io.Input input, com.esotericsoftware.kryo.Kryo kryo)