Synced
SerializationSnapshot
Section titled “SerializationSnapshot”
- Holds an immutable, neutral capture of serialized values without retaining the source object or its generation.
Required contracts
Section titled “Required contracts”API: engine
Inherits: object
Project: Inno.Core.Serialization
Declaration
Section titled “Declaration”public sealed class Inno.Core.Serialization.SerializationSnapshotRemarks
Section titled “Remarks”Capture again through M:Inno.Core.Serialization.SerializationRegistry.CaptureSnapshot``1(``0,Inno.Core.Serialization.SerializationContext,Inno.Core.Serialization.SerializationSnapshot) to reuse unchanged values. Readers may share a snapshot across threads. It owns only scalar values, strings and copied binary data, never source instances, metadata, converters or delegates. It is transient and is not a persistence format.
Members
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Methods | SerializationSnapshot.ToArray | Encodes this capture using the same deterministic binary format as ordinary serialization. |
| Methods | SerializationSnapshot.WriteTo | Streams this capture in the ordinary deterministic binary format without requiring a contiguous complete-output buffer. |