Delegate SerializationManager.CustomDeserializationDelegate<T>
The delegate used when registering custom deserialization for a type.
Namespace: MLAPI.Serialization
Assembly: Unity.Multiplayer.MLAPI.Runtime.dll
Syntax
public delegate T SerializationManager.CustomDeserializationDelegate<T>(Stream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | The stream to read the data required to construct the type. |
Returns
| Type | Description |
|---|---|
| T |
Type Parameters
| Name | Description |
|---|---|
| T | The type to deserialize. |