trait
ByteBufferSerializer extends AnyRef
Abstract Value Members
-
abstract
def
fromBinary(buf: ByteBuffer, manifest: String): AnyRef
-
abstract
def
toBinary(o: AnyRef, buf: ByteBuffer): Unit
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
-
-
-
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
Deprecated Value Members
-
def
finalize(): Unit
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: