MessageSerializer Class
- java.
lang. Object - microsoft.
servicefabric. services. remoting. builder. MessageSerializer
- microsoft.
public class MessageSerializer
Base class for Actor and Service Message Serializer classes. For internal use only.
Method Summary
Modifier and Type | Method and Description |
---|---|
Object |
deserialize(byte[] buffer)
Message deserialize method. |
byte [] |
serialize(Object msg)
Message serialize method. |
Method Details
deserialize
protected static Object deserialize(byte[] buffer)
Message deserialize method.
Parameters:
buffer
- Message buffer to be deserialized.
Returns:
Deserialized object.
serialize
protected static byte [] serialize(Object msg)
Message serialize method.
Parameters:
msg
- message object to be serialized.
Returns:
serialized byte array.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java