SingleSerializer Class
Namespace: Stride.Core.Serialization.SerializersAssembly: Stride.Core.dll
Data serializer for float.
Derived from SingleSerializer:
[DataSerializerGlobal(typeof(SingleSerializer), null, DataSerializerGenericMode.None, false, false)]
public class SingleSerializer : DataSerializer<float>
Name | Description | |
---|---|---|
Properties | ||
IsBlittable | ||
Methods | ||
Serialize(ref Single, ArchiveMode, SerializationStream) | Serializes or deserializes the given object |
Properties
IsBlittable
public override bool IsBlittable { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Stride.Core.Serialization.DataSerializer<System.Single>.IsBlittable
|
Improve this Doc
View Source
Methods
Serialize(ref Single, ArchiveMode, SerializationStream)
Serializes or deserializes the given object obj
.
public override void Serialize(ref float obj, ArchiveMode mode, SerializationStream stream)
Parameters
Type | Name | Description |
---|---|---|
System.Single | obj | |
ArchiveMode | mode | The serialization mode. |
SerializationStream | stream | The stream to serialize or deserialize to. |
Overrides
Stride.Core.Serialization.DataSerializer<System.Single>.Serialize(System.Single, Stride.Core.Serialization.ArchiveMode, Stride.Core.Serialization.SerializationStream)