///<summary>Writes this HLAorderType 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, HLAorderType val) { writer.WriteHLAinteger32BE((int)val); }