Int32Serializer Class
Namespace: Stride.Core.Serialization.SerializersAssembly: Stride.Core.dll
Data serializer for int.
Derived from Int32Serializer:
[DataSerializerGlobal(typeof(Int32Serializer), null, DataSerializerGenericMode.None, false, false)]
public class Int32Serializer : DataSerializer<int>
Name | Description | |
---|---|---|
Properties | ||
IsBlittable | ||
Methods | ||
Serialize(ref Int32, 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.Int32>.IsBlittable
|
Improve this Doc
View Source
Methods
Serialize(ref Int32, ArchiveMode, SerializationStream)
Serializes or deserializes the given object obj
.
public override void Serialize(ref int obj, ArchiveMode mode, SerializationStream stream)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | obj | |
ArchiveMode | mode | The serialization mode. |
SerializationStream | stream | The stream to serialize or deserialize to. |
Overrides
Stride.Core.Serialization.DataSerializer<System.Int32>.Serialize(System.Int32, Stride.Core.Serialization.ArchiveMode, Stride.Core.Serialization.SerializationStream)