Метод | Описание | |
---|---|---|
ByteArraySerializer ( ExtendedActorSystem system ) : System |
Initializes a new instance of the ByteArraySerializer class.
|
|
FromBinary ( byte bytes, |
Deserializes a byte array into an object of type type.
|
|
ToBinary ( object obj ) : byte[] |
Serializes the given object into a byte array
|
public ByteArraySerializer ( ExtendedActorSystem system ) : System | ||
system | ExtendedActorSystem | The actor system to associate with this serializer. |
Результат | System |
public FromBinary ( byte bytes, |
||
bytes | byte | The array containing the serialized object |
type | The type of object contained in the array | |
Результат | object |
public ToBinary ( object obj ) : byte[] | ||
obj | object | The object to serialize |
Результат | byte[] |