< Dice‎ | RollResult
Revision as of 19:46, 15 May 2017 by Skizzerz (talk | contribs) (Created page with "{{APIdoc|RollResult.Serialize Method (Stream)}} Serializes binary data to the given stream. {{ns}} == Syntax == <syntaxhighlight lang="C#"> public void Serialize( Stream...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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