Class RawNoiseSerializer
java.lang.Object
com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.cringe.RawNoise>
com.github.tommyettinger.kryo.cringe.RawNoiseSerializer
public class RawNoiseSerializer
extends com.esotericsoftware.kryo.Serializer<com.github.tommyettinger.cringe.RawNoise>
Kryo
Serializer for cringe RawNoises. This is less space-efficient
than storing a known class that extends RawNoise.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.github.tommyettinger.cringe.RawNoisecopy(com.esotericsoftware.kryo.Kryo kryo, com.github.tommyettinger.cringe.RawNoise original) com.github.tommyettinger.cringe.RawNoiseread(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.github.tommyettinger.cringe.RawNoise> dataClass) voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.github.tommyettinger.cringe.RawNoise data) Methods inherited from class com.esotericsoftware.kryo.Serializer
getAcceptsNull, isImmutable, setAcceptsNull, setImmutable
-
Constructor Details
-
RawNoiseSerializer
public RawNoiseSerializer()
-
-
Method Details
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, com.github.tommyettinger.cringe.RawNoise data) - Specified by:
writein classcom.esotericsoftware.kryo.Serializer<com.github.tommyettinger.cringe.RawNoise>
-
read
public com.github.tommyettinger.cringe.RawNoise read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends com.github.tommyettinger.cringe.RawNoise> dataClass) - Specified by:
readin classcom.esotericsoftware.kryo.Serializer<com.github.tommyettinger.cringe.RawNoise>
-
copy
public com.github.tommyettinger.cringe.RawNoise copy(com.esotericsoftware.kryo.Kryo kryo, com.github.tommyettinger.cringe.RawNoise original) - Overrides:
copyin classcom.esotericsoftware.kryo.Serializer<com.github.tommyettinger.cringe.RawNoise>
-