Table of Contents

Class BoolSerializer

Namespace
Stride.Core.Serialization.Serializers
Assembly
Stride.Core.dll

Data serializer for bool.

[DataSerializerGlobal(typeof(BoolSerializer), null, DataSerializerGenericMode.None, false, false)]
public class BoolSerializer : DataSerializer<bool>
Inheritance
BoolSerializer
Inherited Members

Methods

Serialize(ref bool, ArchiveMode, SerializationStream)

Serializes or deserializes the given object obj.

public override void Serialize(ref bool obj, ArchiveMode mode, SerializationStream stream)

Parameters

obj bool

The object to serialize or deserialize.

mode ArchiveMode

The serialization mode.

stream SerializationStream

The stream to serialize or deserialize to.