BoolSerializer Class
Namespace: Stride.Core.Serialization.SerializersAssembly: Stride.Core.dll
Data serializer for bool.
Derived from BoolSerializer:
[DataSerializerGlobal(typeof(BoolSerializer), null, DataSerializerGenericMode.None, false, false)]
public class BoolSerializer : DataSerializer<bool>
Name | Description | |
---|---|---|
Methods | ||
Serialize(ref Boolean, ArchiveMode, SerializationStream) | Serializes or deserializes the given object |
Methods
Serialize(ref Boolean, ArchiveMode, SerializationStream)
Serializes or deserializes the given object obj
.
public override void Serialize(ref bool obj, ArchiveMode mode, SerializationStream stream)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | obj | |
ArchiveMode | mode | The serialization mode. |
SerializationStream | stream | The stream to serialize or deserialize to. |
Overrides
Stride.Core.Serialization.DataSerializer<System.Boolean>.Serialize(System.Boolean, Stride.Core.Serialization.ArchiveMode, Stride.Core.Serialization.SerializationStream)