Class SingleItemCompressingStringSerializer
java.lang.Object
com.esotericsoftware.kryo.kryo5.Serializer<String>
ch.qos.logback.core.kryo.SerializerBase<String>
ch.qos.logback.classic.kryo.SingleItemCompressingStringSerializer
-
Nested Class Summary
Nested classes/interfaces inherited from class SerializerBase
SerializerBase.BiMapType -
Constructor Summary
ConstructorsConstructorDescriptionSingleItemCompressingStringSerializer(int capacity) SingleItemCompressingStringSerializer(SerializerBase.BiMapType biMapType, int capacity) -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]gzipCompress(byte[] data) static byte[]gzipCompress(byte[] data, int off, int len) protected StringreadNewEntry(com.esotericsoftware.kryo.kryo5.Kryo kryo, com.esotericsoftware.kryo.kryo5.io.Input input) protected voidwriteNewEntry(com.esotericsoftware.kryo.kryo5.Kryo kryo, com.esotericsoftware.kryo.kryo5.io.Output output, String value) Method called to write new entries.Methods inherited from class SerializerBase
read, writeMethods inherited from class com.esotericsoftware.kryo.kryo5.Serializer
copy, getAcceptsNull, isImmutable, setAcceptsNull, setImmutable
-
Constructor Details
-
SingleItemCompressingStringSerializer
-
SingleItemCompressingStringSerializer
-
-
Method Details
-
writeNewEntry
protected void writeNewEntry(com.esotericsoftware.kryo.kryo5.Kryo kryo, com.esotericsoftware.kryo.kryo5.io.Output output, String value) Description copied from class:SerializerBaseMethod called to write new entries.- Specified by:
writeNewEntryin classSerializerBase<String>- Parameters:
kryo-output-value-
-
readNewEntry
protected String readNewEntry(com.esotericsoftware.kryo.kryo5.Kryo kryo, com.esotericsoftware.kryo.kryo5.io.Input input) - Specified by:
readNewEntryin classSerializerBase<String>
-
gzipCompress
-
gzipCompress
-