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