Table of Contents

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

int

Magic

public const int Magic = 1128812107

Field Value

int

Properties

OffsetToObject

public int OffsetToObject { get; set; }

Property Value

int

OffsetToReferences

public int OffsetToReferences { get; set; }

Property Value

int

Type

public string Type { get; set; }

Property Value

string

Version

public int Version { get; set; }

Property Value

int

Methods

Read(SerializationStream)

public static ChunkHeader Read(SerializationStream stream)

Parameters

stream SerializationStream

Returns

ChunkHeader

Write(SerializationStream)

public void Write(SerializationStream stream)

Parameters

stream SerializationStream