Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Deserializes one structured value against the active importer candidate generation.

API: engine
Project: Inno.Assets.Pipeline

public TValue Inno.Assets.Pipeline.AssetSerializationServices.Deserialize<TValue>(System.ReadOnlySpan<byte> bytes) where TValue : class, Inno.Core.Serialization.ISerializable

Type parameter TValue: The serializable value contract.

Parameter bytes: Complete structured bytes produced by the common serialization system.

A restored value owned by the caller.

Exception T:System.InvalidOperationException: Thrown when the value contains an asset reference but no candidate resolver is available.