Class BaseSerializer

java.lang.Object
com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.digital.Base>
com.github.tommyettinger.kryo.digital.BaseSerializer

public class BaseSerializer extends com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.digital.Base>
Kryo Serializer for digital Bases.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.github.tommyettinger.digital.Base
    read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.github.tommyettinger.digital.Base> dataClass)
     
    void
    write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.github.tommyettinger.digital.Base data)
     

    Methods inherited from class com.esotericsoftware.kryo.Serializer

    copy, 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.digital.Base data)
      Specified by:
      write in class com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.digital.Base>
    • read

      public com.github.tommyettinger.digital.Base read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.github.tommyettinger.digital.Base> dataClass)
      Specified by:
      read in class com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.digital.Base>