///<summary>
        /// Writes this HLAfederation.HLAnextSaveTime to the specified stream.
        ///</summary>
        ///<param name="writer"> the output stream to write to</param>
        ///<param name="HLAnextSaveTime"> the property to serialize</param>
        ///<exception cref="System.IO.IOException"> if an error occurs</exception>
        public override void Serialize(HlaEncodingWriter writer, object HLAnextSaveTime)
        {
            try
            {
                writer.WriteHLAinteger32BE(((byte[])HLAnextSaveTime).Length);

                for (int i = 0; i < ((byte[])HLAnextSaveTime).Length; i++)
                {
                    writer.WriteHLAoctet(((byte[])HLAnextSaveTime)[i]);
                }
            }
            catch (IOException ioe)
            {
                throw new RTIinternalError(ioe.ToString());
            }
        }
        ///<summary>
        /// Writes this HLAfederation.HLAlastSaveTime to the specified stream.
        ///</summary>
        ///<param name="writer"> the output stream to write to</param>
        ///<param name="HLAlastSaveTime"> the property to serialize</param>
        ///<exception cref="System.IO.IOException"> if an error occurs</exception>
        public override void Serialize(HlaEncodingWriter writer, object HLAlastSaveTime)
        {
            try
            {
                writer.WriteHLAinteger32BE(((byte[])HLAlastSaveTime).Length);

                for(int i=0;i< ((byte[])HLAlastSaveTime).Length;i++)
                {
                    writer.WriteHLAoctet(((byte[])HLAlastSaveTime)[i]);
                }
            }
            catch(IOException ioe)
            {
                throw new RTIinternalError(ioe.ToString());
            }
        }
        ///<summary>
        /// Writes this HLAfederate.HLAfederateHandle to the specified stream.
        ///</summary>
        ///<param name="writer"> the output stream to write to</param>
        ///<param name="HLAfederateHandle"> the property to serialize</param>
        ///<exception cref="System.IO.IOException"> if an error occurs</exception>
        public override void Serialize(HlaEncodingWriter writer, object HLAfederateHandle)
        {
            // PATCH ANGEL: Es necesario realizar un cast del object primero a HLAfederateHandle y luego a byte[] para que funcione correctamente (1º Linea de código)
            // Se debería incluir esta modificación en el Dynamic Compiler (Lo comentado es lo que generaba).
            try
            {
                byte[] handle = ((byte[])((HLAfederateHandle)HLAfederateHandle));
                writer.WriteHLAinteger32BE(handle.Length);                      // Como argumento: ((byte[])HLAfederateHandle).Length

                for (int i = 0; i < handle.Length; i++)                         // Condición del for: i < ((byte[])HLAfederateHandle).Length
                {
                    writer.WriteHLAoctet(handle[i]);                            // Como argumento: ((byte[])HLAfederateHandle)[i]
                }
            }
            catch (IOException ioe)
            {
                throw new RTIinternalError(ioe.ToString());
            }
        }
        ///<summary>
        /// Writes this HLAfederate.HLAfederateHandle to the specified stream.
        ///</summary>
        ///<param name="writer"> the output stream to write to</param>
        ///<param name="HLAfederateHandle"> the property to serialize</param>
        ///<exception cref="System.IO.IOException"> if an error occurs</exception>
        public override void Serialize(HlaEncodingWriter writer, object HLAfederateHandle)
        {
            // PATCH ANGEL: Es necesario realizar un cast del object primero a HLAfederateHandle y luego a byte[] para que funcione correctamente (1º Linea de código)
            // Se debería incluir esta modificación en el Dynamic Compiler (Lo comentado es lo que generaba).
            try
            {
                byte[] handle = ((byte[])((HLAfederateHandle)HLAfederateHandle));
                writer.WriteHLAinteger32BE(handle.Length);                      // Como argumento: ((byte[])HLAfederateHandle).Length

                for (int i = 0; i < handle.Length; i++)                         // Condición del for: i < ((byte[])HLAfederateHandle).Length
                {
                    writer.WriteHLAoctet(handle[i]);                            // Como argumento: ((byte[])HLAfederateHandle)[i]
                }
            }
            catch (IOException ioe)
            {
                throw new RTIinternalError(ioe.ToString());
            }
        }
        ///<summary>
        /// Writes this HLAfederation.HLAfederatesinFederation to the specified stream.
        ///</summary>
        ///<param name="writer"> the output stream to write to</param>
        ///<param name="HLAfederatesinFederation"> the property to serialize</param>
        ///<exception cref="System.IO.IOException"> if an error occurs</exception>
        public override void Serialize(HlaEncodingWriter writer, object HLAfederatesinFederation)
        {
            try
            {
                writer.WriteHLAinteger32BE(((byte[][])HLAfederatesinFederation).Length);

                for (int i = 0; i < ((byte[][])HLAfederatesinFederation).Length; i++)
                {
                    writer.WriteHLAinteger32BE((((byte[][])HLAfederatesinFederation)[i]).Length);

                    for (int j = 0; j < (((byte[][])HLAfederatesinFederation)[i]).Length; j++)
                    {
                        writer.WriteHLAoctet((((byte[][])HLAfederatesinFederation)[i])[j]);
                    }
                }
            }
            catch (IOException ioe)
            {
                throw new RTIinternalError(ioe.ToString());
            }
        }
        ///<summary>
        /// Writes this HLAfederation.HLAfederatesinFederation to the specified stream.
        ///</summary>
        ///<param name="writer"> the output stream to write to</param>
        ///<param name="HLAfederatesinFederation"> the property to serialize</param>
        ///<exception cref="System.IO.IOException"> if an error occurs</exception>
        public override void Serialize(HlaEncodingWriter writer, object HLAfederatesinFederation)
        {
            try
            {
                writer.WriteHLAinteger32BE(((byte[][])HLAfederatesinFederation).Length);

                for(int i=0;i< ((byte[][])HLAfederatesinFederation).Length;i++)
                {
                    writer.WriteHLAinteger32BE((((byte[][])HLAfederatesinFederation)[i]).Length);

                    for(int j=0;j< (((byte[][])HLAfederatesinFederation)[i]).Length;j++)
                    {
                        writer.WriteHLAoctet((((byte[][])HLAfederatesinFederation)[i])[j]);
                    }
                }
            }
            catch(IOException ioe)
            {
                throw new RTIinternalError(ioe.ToString());
            }
        }