Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Replaces exact Guid and string values while retaining the binary serialization structure.

API: engine
Project: Inno.Core.Serialization

public static byte[] Inno.Core.Serialization.SerializedIdentityRemapper.Rewrite(System.ReadOnlySpan<byte> source, System.Collections.Generic.IReadOnlyDictionary<System.Guid, System.Guid> identities, System.Collections.Generic.IReadOnlyDictionary<string, string>? paths = null)

Parameter source: A complete serialized value or property snapshot.

Parameter identities: Old to new Guid values.

Parameter paths: Optional exact old to new string values.

A detached rewritten payload; unknown binary subvalues remain unchanged.

Exception T:System.IO.InvalidDataException: The recognized serialized format is malformed.