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

API: scripting
Project: Inno.Assets.Pipeline
Scope: Editor

public TValue InnoEditor.Assets.AssetSerializationServices.Deserialize<TValue>(System.ReadOnlySpan<byte> bytes) where TValue : class, InnoEngine.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.