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