Click or drag to resize

PayloadSerialization Class

Contains a number of tools for simplifying serialization of message payloads
Inheritance Hierarchy
SystemObject
  ImmerseSDK.Multiplayer.MessagingPayloadSerialization

Namespace:  ImmerseSDK.Multiplayer.Messaging
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
public static class PayloadSerialization

The PayloadSerialization type exposes the following members.

Constructors
  NameDescription
Private methodStatic memberPayloadSerialization
Top
Methods
  NameDescription
Public methodStatic memberDeserializeT
Deserializes a Serializable object from a message payload
Public methodStatic memberDeserializeString
Deserializes a UTF8 encoded string
Public methodStatic memberSerialize(Object)
Serializes an object with the Serializable attribute to a byte array
Public methodStatic memberSerialize(String)
Serializes a string to a byte array using UTF8 encoding
Public methodStatic memberSerializeUsingJson
Serializes an object using json, then converts to a UTF8 encoded string
Top
See Also