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