Class DeckWrapperSerializer
java.lang.Object
com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.random.DeckWrapper>
com.github.tommyettinger.kryo.juniper.DeckWrapperSerializer
public class DeckWrapperSerializer
extends com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.random.DeckWrapper>
Kryo
Serializer for juniper DeckWrappers.
Internally, this stores the serialized String produced by DeckWrapper.stringSerialize(Base).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.github.tommyettinger.random.DeckWrappercopy(com.esotericsoftware.kryo.Kryo kryo, com.github.tommyettinger.random.DeckWrapper original) com.github.tommyettinger.random.DeckWrapperread(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.github.tommyettinger.random.DeckWrapper> dataClass) voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.github.tommyettinger.random.DeckWrapper data) Methods inherited from class com.esotericsoftware.kryo.Serializer
getAcceptsNull, isImmutable, setAcceptsNull, setImmutable
-
Constructor Details
-
DeckWrapperSerializer
public DeckWrapperSerializer()
-
-
Method Details
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.github.tommyettinger.random.DeckWrapper data) - Specified by:
writein classcom.esotericsoftware.kryo.Serializer<com.github.tommyettinger.random.DeckWrapper>
-
read
public com.github.tommyettinger.random.DeckWrapper read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.github.tommyettinger.random.DeckWrapper> dataClass) - Specified by:
readin classcom.esotericsoftware.kryo.Serializer<com.github.tommyettinger.random.DeckWrapper>
-
copy
public com.github.tommyettinger.random.DeckWrapper copy(com.esotericsoftware.kryo.Kryo kryo, com.github.tommyettinger.random.DeckWrapper original) - Overrides:
copyin classcom.esotericsoftware.kryo.Serializer<com.github.tommyettinger.random.DeckWrapper>
-