Table of Contents

Class ServiceWireSerializer

Namespace
Stride.Core.Serialization.Serializers
Assembly
Stride.Core.dll
[DataSerializerGlobal(typeof(ServiceWireSerializer), null, DataSerializerGenericMode.None, false, false)]
public class ServiceWireSerializer : DataSerializer<ServiceSyncInfo>
Inheritance
DataSerializer<ServiceSyncInfo>
ServiceWireSerializer
Inherited Members

Methods

PreSerialize(ref ServiceSyncInfo, ArchiveMode, SerializationStream)

Performs the first step of serialization or deserialization.

public override void PreSerialize(ref ServiceSyncInfo obj, ArchiveMode mode, SerializationStream stream)

Parameters

obj ServiceSyncInfo

The object to process.

mode ArchiveMode

The serialization mode.

stream SerializationStream

The stream to serialize or deserialize to.

Remarks

Typically, it will instantiate the object if [null], and if it's a collection clear it.

Serialize(ref ServiceSyncInfo, ArchiveMode, SerializationStream)

Serializes or deserializes the given object obj.

public override void Serialize(ref ServiceSyncInfo info, ArchiveMode mode, SerializationStream stream)

Parameters

info ServiceSyncInfo
mode ArchiveMode

The serialization mode.

stream SerializationStream

The stream to serialize or deserialize to.