Пример #1
0
 ///<summary>Writes this HLAswitch 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, HLAswitch val)
 {
     writer.WriteHLAinteger32BE((int)val);
 }
Пример #2
0
 ///<summary>Writes this HLAswitch 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, HLAswitch val)
 {
     writer.WriteHLAinteger32BE((int)val);
 }