 | ClusterSingletonMessageSerializerFromBinary Method (Byte, String) |
Deserializes a byte array into an object using an optional manifest (type hint).
Namespace:
Akka.Cluster.Tools.Singleton.Serialization
Assembly:
Akka.Cluster.Tools (in Akka.Cluster.Tools.dll) Version: 1.2.3.42 (1.2.3.42)
Syntaxpublic override Object FromBinary(
byte[] bytes,
string manifest
)
abstract FromBinary :
bytes : byte[] *
manifest : string -> Object
override FromBinary :
bytes : byte[] *
manifest : string -> Object
Parameters
- bytes
- Type: SystemByte
The array containing the serialized object - manifest
- Type: SystemString
The type hint used to deserialize the object contained in the array.
Return Value
Type:
ObjectThe object contained in the array
ExceptionsException | Condition |
---|
ArgumentException |
This exception is thrown when the specified bytescannot be deserialized using the specified manifest.
|
See Also