Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Deserializes a new serializable root object from deterministic binary data.

API: scripting
Project: Inno.Core.Serialization
Scope: Editor

public T InnoEngine.Serialization.SerializationRegistry.Deserialize<T>(System.ReadOnlySpan<byte> bytes, InnoEngine.Serialization.SerializationContext? context = null) where T : class, InnoEngine.Serialization.ISerializable

Type parameter T: The concrete root type to create.

Parameter bytes: The encoded bytes.

Parameter context: Optional immutable converter context.

The restored object.

Exception T:System.InvalidOperationException: Thrown when the manager is not initialized.