Table of Contents

Struct ContentStorageHeader

Namespace
Stride.Core.Streaming
Assembly
Stride.Core.Serialization.dll

Header with description of streamable resource data storage.

public struct ContentStorageHeader
Inherited Members

Fields

Chunks

The data chunks.

public ContentStorageHeader.ChunkEntry[] Chunks

Field Value

ChunkEntry[]

DataUrl

The data container url.

public string DataUrl

Field Value

string

HashCode

The hash code for the package header. Used to ensure data consistency.

public int HashCode

Field Value

int

InitialImage

True if data is followed by initial low resolution image.

public bool InitialImage

Field Value

bool

PackageTime

Time when package has been created (in UTC).

public DateTime PackageTime

Field Value

DateTime

Properties

ChunksCount

Gets the amount of data chunks.

public int ChunksCount { get; }

Property Value

int

Methods

Read(SerializationStream, out ContentStorageHeader)

Reads header instance from a stream.

public static void Read(SerializationStream stream, out ContentStorageHeader result)

Parameters

stream SerializationStream

The source stream.

result ContentStorageHeader

Result data

Write(SerializationStream)

Writes this instance to a stream.

public void Write(SerializationStream stream)

Parameters

stream SerializationStream

The destination stream.