///<summary>Writes this HLAupdateType to the specified stream.</summary> ///<param name="writer"> the stream to write to</param> ///<exception cref="IOException"> if an error occurs</exception> public static void Serialize(HlaEncodingWriter writer, HLAupdateType val) { writer.WriteHLAinteger32BE((int)val); }