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