///<summary> /// Reads and returns a Population 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 override object Deserialize(HlaEncodingReader reader, ref object msg) { double decodedValue; try { decodedValue = reader.ReadHLAfloat64BE(); return(decodedValue); } catch (IOException ioe) { throw new FederateInternalError(ioe.ToString()); } }