Table of Contents

Class SingleSerializer

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

Data serializer for float.

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

Properties

IsBlittable

public override bool IsBlittable { get; }

Property Value

bool

Methods

Serialize(ref float, ArchiveMode, SerializationStream)

Serializes or deserializes the given object obj.

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

Parameters

obj float

The object to serialize or deserialize.

mode ArchiveMode

The serialization mode.

stream SerializationStream

The stream to serialize or deserialize to.