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