Package akka.serialization
Interface ByteBufferSerializer
-
- All Known Implementing Classes:
BooleanSerializer
,ByteArraySerializer
,ByteStringSerializer
,DisabledJavaSerializer
,IntSerializer
,LongSerializer
,StringSerializer
public interface ByteBufferSerializer
Serializes the given object into theByteBuffer
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
fromBinary(java.nio.ByteBuffer buf, java.lang.String manifest)
Produces an object from aByteBuffer
, with an optional type-hint; the class should be loaded using ActorSystem.dynamicAccess.void
toBinary(java.lang.Object o, java.nio.ByteBuffer buf)
-
-
-
Method Detail
-
fromBinary
java.lang.Object fromBinary(java.nio.ByteBuffer buf, java.lang.String manifest) throws java.io.NotSerializableException
Produces an object from aByteBuffer
, with an optional type-hint; the class should be loaded using ActorSystem.dynamicAccess.- Parameters:
buf
- (undocumented)manifest
- (undocumented)- Returns:
- (undocumented)
- Throws:
java.io.NotSerializableException
-
toBinary
void toBinary(java.lang.Object o, java.nio.ByteBuffer buf)
-
-