///<summary> /// Reads and returns a HLAparameterHandleValuePair from the specified stream. ///</summary> ///<param name="reader"> the input stream to read from</param> ///<returns> the decoded value</returns> ///<exception cref="IOException"> if an error occurs</exception> public static HLAparameterHandleValuePair Deserialize(HlaEncodingReader reader) { HLAparameterHandleValuePair decodedValue = new HLAparameterHandleValuePair(); decodedValue.ParameterHandle = reader.ReadHLAinteger64BE(); decodedValue.ParameterValue = reader.ReadHLAopaqueData(); return(decodedValue); }
///<summary> Reads and returns a HLAupdateType from the specified stream.</summary> ///<param name="reader"> the input stream to read from</param> ///<returns>return the decoded value</returns> ///<exception cref="IOException"> if an error occurs</exception> public static HLAupdateType Deserialize(HlaEncodingReader reader) { return (HLAupdateType)reader.ReadHLAinteger32BE(); }
///<summary> Reads and returns a HLAfederateHandle from the specified stream.</summary> ///<param name="reader"> the input stream to read from</param> ///<returns>return the decoded value</returns> ///<exception cref="IOException"> if an error occurs</exception> public static HLAfederateHandle Deserialize(HlaEncodingReader reader) { return((HLAfederateHandle)reader.ReadHLAinteger32BE()); }
///<summary> Reads and returns a HLAsharingType from the specified stream.</summary> ///<param name="reader"> the input stream to read from</param> ///<returns>return the decoded value</returns> ///<exception cref="IOException"> if an error occurs</exception> public static HLAsharingType Deserialize(HlaEncodingReader reader) { return((HLAsharingType)reader.ReadHLAinteger32BE()); }
///<summary> Reads and returns a HLAswitch from the specified stream.</summary> ///<param name="reader"> the input stream to read from</param> ///<returns>return the decoded value</returns> ///<exception cref="IOException"> if an error occurs</exception> public static HLAswitch Deserialize(HlaEncodingReader reader) { return (HLAswitch)reader.ReadHLAinteger32BE(); }
///<summary> /// Reads and returns a HLAparameterHandleValuePair from the specified stream. ///</summary> ///<param name="reader"> the input stream to read from</param> ///<returns> the decoded value</returns> ///<exception cref="IOException"> if an error occurs</exception> public static HLAparameterHandleValuePair Deserialize(HlaEncodingReader reader) { HLAparameterHandleValuePair decodedValue = new HLAparameterHandleValuePair(); decodedValue.ParameterHandle = reader.ReadHLAinteger64BE(); decodedValue.ParameterValue = reader.ReadHLAopaqueData(); return decodedValue; }
///<summary> Reads and returns a HLAswitch from the specified stream.</summary> ///<param name="reader"> the input stream to read from</param> ///<returns>return the decoded value</returns> ///<exception cref="IOException"> if an error occurs</exception> public static HLAswitch Deserialize(HlaEncodingReader reader) { return((HLAswitch)reader.ReadHLAinteger32BE()); }