Difference between revisions of "Dice/RollResult/Serialize"

From DiceRoller Documentation
(Created page with "{{APIdoc|RollResult.Serialize Method (Stream)}} Serializes binary data to the given stream. {{ns}} == Syntax == <syntaxhighlight lang="C#"> public void Serialize( Stream...")
 
(No difference)

Latest revision as of 19:46, 15 May 2017

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 RollResult for persistent storage. The RollRoot is not serialized.