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