Class IntArraySerializer

java.lang.Object
com.esotericsoftware.kryo.Serializer<com.badlogic.gdx.utils.IntArray>
com.github.tommyettinger.kryo.libgdx.IntArraySerializer

public class IntArraySerializer extends com.esotericsoftware.kryo.Serializer<com.badlogic.gdx.utils.IntArray>
Kryo Serializer for libGDX IntArrays.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.badlogic.gdx.utils.IntArray
    copy(com.esotericsoftware.kryo.Kryo kryo, com.badlogic.gdx.utils.IntArray original)
     
    com.badlogic.gdx.utils.IntArray
    read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.badlogic.gdx.utils.IntArray> dataClass)
     
    void
    write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.badlogic.gdx.utils.IntArray 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.badlogic.gdx.utils.IntArray data)
      Specified by:
      write in class com.esotericsoftware.kryo.Serializer<com.badlogic.gdx.utils.IntArray>
    • read

      public com.badlogic.gdx.utils.IntArray read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.badlogic.gdx.utils.IntArray> dataClass)
      Specified by:
      read in class com.esotericsoftware.kryo.Serializer<com.badlogic.gdx.utils.IntArray>
    • copy

      public com.badlogic.gdx.utils.IntArray copy(com.esotericsoftware.kryo.Kryo kryo, com.badlogic.gdx.utils.IntArray original)
      Overrides:
      copy in class com.esotericsoftware.kryo.Serializer<com.badlogic.gdx.utils.IntArray>