Class Int32Serializer
- Namespace
- Stride.Core.Serialization.Serializers
- Assembly
- Stride.Core.dll
Data serializer for int.
[DataSerializerGlobal(typeof(Int32Serializer), null, DataSerializerGenericMode.None, false, false)]
public class Int32Serializer : DataSerializer<int>
- Inheritance
-
Int32Serializer
- Inherited Members
Properties
IsBlittable
public override bool IsBlittable { get; }
Property Value
Methods
Serialize(ref int, ArchiveMode, SerializationStream)
Serializes or deserializes the given object obj
.
public override void Serialize(ref int obj, ArchiveMode mode, SerializationStream stream)
Parameters
obj
intThe object to serialize or deserialize.
mode
ArchiveModeThe serialization mode.
stream
SerializationStreamThe stream to serialize or deserialize to.