Package org.apache.sedona.viz.core.Serde
Class ImageWrapperSerializer
java.lang.Object
com.esotericsoftware.kryo.Serializer<ImageSerializableWrapper>
org.apache.sedona.viz.core.Serde.ImageWrapperSerializer
public class ImageWrapperSerializer
extends com.esotericsoftware.kryo.Serializer<ImageSerializableWrapper>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<ImageSerializableWrapper> type) readImage(byte[] inputArray) voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, ImageSerializableWrapper object) byte[]writeImage(ImageSerializableWrapper object) Methods inherited from class com.esotericsoftware.kryo.Serializer
copy, getAcceptsNull, isImmutable, setAcceptsNull, setGenerics, setImmutable
-
Constructor Details
-
ImageWrapperSerializer
public ImageWrapperSerializer()
-
-
Method Details
-
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, ImageSerializableWrapper object) - Specified by:
writein classcom.esotericsoftware.kryo.Serializer<ImageSerializableWrapper>
-
writeImage
-
read
public ImageSerializableWrapper read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<ImageSerializableWrapper> type) - Specified by:
readin classcom.esotericsoftware.kryo.Serializer<ImageSerializableWrapper>
-
readImage
-