Class ChunkHeader
- Namespace
- Stride.Core.Serialization.Contents
- Assembly
- Stride.Core.Serialization.dll
This class describes the header of an asset serialized in a blob file. Its (serialized) size has to remain constant
public sealed class ChunkHeader
- Inheritance
-
ChunkHeader
Constructors
ChunkHeader()
public ChunkHeader()
Fields
CurrentVersion
public const int CurrentVersion = 1
Field Value
Magic
public const int Magic = 1128812107
Field Value
Properties
OffsetToObject
public int OffsetToObject { get; set; }
Property Value
OffsetToReferences
public int OffsetToReferences { get; set; }
Property Value
Type
public string Type { get; set; }
Property Value
Version
public int Version { get; set; }
Property Value
Methods
Read(SerializationStream)
public static ChunkHeader Read(SerializationStream stream)
Parameters
stream
SerializationStream
Returns
Write(SerializationStream)
public void Write(SerializationStream stream)
Parameters
stream
SerializationStream