Synced
AssetSerializationServices.Deserialize
Section titled “AssetSerializationServices.Deserialize”
- Deserializes one structured value against the active importer candidate generation.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Assets.Pipeline
Declaration
Section titled “Declaration”public TValue Inno.Assets.Pipeline.AssetSerializationServices.Deserialize<TValue>(System.ReadOnlySpan<byte> bytes) where TValue : class, Inno.Core.Serialization.ISerializableType parameters
Section titled “Type parameters”Type parameter TValue: The serializable value contract.
Parameters
Section titled “Parameters”Parameter bytes: Complete structured bytes produced by the common serialization system.
Returns
Section titled “Returns”A restored value owned by the caller.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: Thrown when the value contains an asset reference but no candidate resolver is available.