< Dice‎ | DieResult
Revision as of 19:46, 15 May 2017 by Skizzerz (talk | contribs) (Created page with "{{APIdoc|DieResult.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)

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.