Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Deserializes a complete root object using the converter generation captured by this instance.

API: engine
Project: Inno.Core.Serialization

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

Type parameter T: The concrete root type to create.

Parameter bytes: Deterministic binary data containing the root object.

Parameter context: Optional immutable converter context for this operation.

The restored root object.

Exception T:System.ObjectDisposedException: Thrown when this generation has already been disposed.