Class CUIDSerializer

java.lang.Object
com.esotericsoftware.kryo.Serializer<T>
com.esotericsoftware.kryo.serializers.ImmutableSerializer<CUID>
dev.voidframework.core.kryo.CUIDSerializer

public final class CUIDSerializer extends com.esotericsoftware.kryo.serializers.ImmutableSerializer<CUID>
Kryo serializer for Java CUID.
Since:
1.11.0
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends CUID> type)
     
    void
    write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, CUID cuid)
     

    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

    • CUIDSerializer

      public CUIDSerializer()
  • Method Details

    • write

      public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, CUID cuid)
      Specified by:
      write in class com.esotericsoftware.kryo.Serializer<CUID>
    • read

      public CUID read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends CUID> type)
      Specified by:
      read in class com.esotericsoftware.kryo.Serializer<CUID>