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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.github.tommyettinger.random.DeckWrapper
    copy(com.esotericsoftware.kryo.Kryo kryo, com.github.tommyettinger.random.DeckWrapper original)
     
    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)
     
    void
    write(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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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:
      write in class com.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:
      read in class com.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:
      copy in class com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.random.DeckWrapper>