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
boolThe object to serialize or deserialize.
mode
ArchiveModeThe serialization mode.
stream
SerializationStreamThe stream to serialize or deserialize to.