Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Restores and validates one current-format payload inventory.

API: engine
Project: Inno.Content

public static Inno.Content.ContentPackIndex Inno.Content.ContentPackIndexCodec.Decode(System.ReadOnlySpan<byte> data, Inno.Core.Serialization.SerializationGeneration serialization)

Parameter data: The complete structured index bytes.

Parameter serialization: The borrowed converter generation pinned by the enclosing preparation operation.

A newly owned immutable inventory with no duplicate or ambiguous identities.

Exception T:System.IO.InvalidDataException: The bytes or inventory are malformed; no partial index is returned.