Produces an object from a ByteBuffer
, with an optional type-hint;
the class should be loaded using ActorSystem.dynamicAccess.
Produces an object from a ByteBuffer
, with an optional type-hint;
the class should be loaded using ActorSystem.dynamicAccess.
Serializes the given object into the ByteBuffer
.
Serializer between an object and a
ByteBuffer
representing that object.Implementations should typically extend SerializerWithStringManifest and in addition to the
ByteBuffer
basedtoBinary
andfromBinary
methods also implement the array basedtoBinary
andfromBinary
methods. The array based methods will be used whenByteBuffer
is not used, e.g. in Akka Persistence.Note that the array based methods can for example be implemented by delegation like this: