ScalaEnumNameSerializer

io.altoo.serialization.kryo.scala.serializer.ScalaEnumNameSerializer
class ScalaEnumNameSerializer[T <: EnumValue] extends Serializer[T]

Serializes enums using the enum's name. This prevents invalidating previously serialized bytes when the enum order changes

Attributes

Graph
Supertypes
class Serializer[T]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def read(kryo: Kryo, input: Input, typ: Class[_ <: T]): T
def write(kryo: Kryo, output: Output, obj: T): Unit

Inherited methods

def copy(x$0: Kryo, x$1: T): T

Attributes

Inherited from:
Serializer
def getAcceptsNull(): Boolean

Attributes

Inherited from:
Serializer
def isImmutable(): Boolean

Attributes

Inherited from:
Serializer
def setAcceptsNull(x$0: Boolean): Unit

Attributes

Inherited from:
Serializer
def setImmutable(x$0: Boolean): Unit

Attributes

Inherited from:
Serializer