 | PayloadSerializationPayloadToObjectT Method |
Deserializes a Serializable object from a byte array
Namespace:
ImmerseSDK.Multiplayer.Messaging
Assembly:
ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.7.0.0 (3.7.0.0)
Syntaxpublic static T PayloadToObject<T>(
this IMortarMessage message
)
Parameters
- message
- Type: IMortarMessage
Type Parameters
- T
- Object with the Serializable attribute
Return Value
Type:
TUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IMortarMessage. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also