PayloadSerialization Class |
Namespace: ImmerseSDK.Multiplayer.Messaging
public static class PayloadSerialization
The PayloadSerialization type exposes the following members.
Name | Description | |
---|---|---|
PayloadSerialization |
Name | Description | |
---|---|---|
DeserializeT |
Deserializes a Serializable object from a message payload
| |
DeserializeString |
Deserializes a UTF8 encoded string
| |
Serialize(Object) |
Serializes an object with the Serializable attribute to a byte array
| |
Serialize(String) |
Serializes a string to a byte array using UTF8 encoding
| |
SerializeUsingJson |
Serializes an object using json, then converts to a UTF8 encoded string
|