Synced
SerializationSnapshot.WriteTo
Section titled “SerializationSnapshot.WriteTo”
- Streams this capture in the ordinary deterministic binary format without requiring a contiguous complete-output buffer.
Required contracts
Section titled “Required contracts”API: engine
Project: Inno.Core.Serialization
Declaration
Section titled “Declaration”public void Inno.Core.Serialization.SerializationSnapshot.WriteTo(System.IO.Stream destination)Parameters
Section titled “Parameters”Parameter destination: The writable caller-owned stream, which remains open.
Remarks
Section titled “Remarks”Immutable keyed objects may retain canonical encoded blocks of at most 64 KiB each. Larger objects remain streamed, and cached bytes never contain source objects or generation references.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: The destination is null.
Exception T:System.ArgumentException: The destination cannot be written.
Exception T:System.IO.IOException: The destination rejects a write; its partial bytes remain the caller’s responsibility.