DieResult.Serialize Method (Stream)
From DiceRoller Documentation
Serializes binary data to the given stream.
- Namespace: Dice
- Assembly: DiceRoller (in DiceRoller.dll)
Syntax
public void Serialize(
Stream serializationStream
)
Parameters
- serializationStream
- Type: System.IO.Stream
- The stream to write serialized data to.
Remarks
This method should be used whenever serializing a DieResult for persistent storage.