예제 #1
0
 /// <summary>
 /// Writes a CharacterID to a IValueWriter.
 /// </summary>
 /// <param name="valueWriter">IValueWriter to write to.</param>
 /// <param name="name">Unique name of the CharacterID that will be used to distinguish it
 /// from other values when reading.</param>
 /// <param name="value">CharacterID to write.</param>
 public static void Write(this IValueWriter valueWriter, string name, CharacterID value)
 {
     value.Write(valueWriter, name);
 }
예제 #2
0
 /// <summary>
 /// Writes a CharacterID to a BitStream.
 /// </summary>
 /// <param name="bitStream">BitStream to write to.</param>
 /// <param name="value">CharacterID to write.</param>
 public static void Write(this BitStream bitStream, CharacterID value)
 {
     value.Write(bitStream);
 }