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