Class SnapshotArraySerializer

java.lang.Object
org.apache.fory.serializer.Serializer<com.badlogic.gdx.utils.SnapshotArray>
com.github.tommyettinger.tantrum.libgdx.SnapshotArraySerializer

public class SnapshotArraySerializer extends org.apache.fory.serializer.Serializer<com.badlogic.gdx.utils.SnapshotArray>
Fory Serializer for libGDX SnapshotArrays.
  • Field Summary

    Fields inherited from class org.apache.fory.serializer.Serializer

    immutable, needToCopyRef, needToWriteRef, type
  • Constructor Summary

    Constructors
    Constructor
    Description
    SnapshotArraySerializer(org.apache.fory.config.Config fory)
     
    SnapshotArraySerializer(org.apache.fory.Fory fory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.badlogic.gdx.utils.SnapshotArray<?>
    read(org.apache.fory.context.ReadContext fory)
     
    void
    write(org.apache.fory.context.WriteContext fory, com.badlogic.gdx.utils.SnapshotArray data)
     

    Methods inherited from class org.apache.fory.serializer.Serializer

    copy, getType, isImmutable, needToCopyRef, needToWriteRef, read, write

    Methods inherited from class Object

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

  • Method Details

    • write

      public void write(org.apache.fory.context.WriteContext fory, com.badlogic.gdx.utils.SnapshotArray data)
      Specified by:
      write in class org.apache.fory.serializer.Serializer<com.badlogic.gdx.utils.SnapshotArray>
    • read

      public com.badlogic.gdx.utils.SnapshotArray<?> read(org.apache.fory.context.ReadContext fory)
      Specified by:
      read in class org.apache.fory.serializer.Serializer<com.badlogic.gdx.utils.SnapshotArray>