Example #1
0
 /// <summary>
 /// Reads a 32 bit single precision floating point value from the data segment.
 /// </summary>
 /// <param name="address">The address in the .data segment to retrieve the value from.</param>
 /// <returns>The 32-bit float value stored at the provided address.</returns>
 public float ReadSinglePrecisionFloat(int address)
 {
     return(DataSegmentCommon.ReadSinglePrecisionFloat(m_ByteArray, address, m_RuntimeDataSegmentOffset));
 }
Example #2
0
        /// <summary>
        /// Reads a 32-bit single precision floating point value from the data segment.
        /// </summary>
        /// <param name="address">The address in the .data segment to retrieve the value from.</param>
        /// <returns>The 32-bit floating point value stored at the provided address.</returns>
        public float ReadSinglePrecisionFloat(int address)
        {
            DataSubsection correspondingSubsection = GetDataSegmentForAddress(address);

            return(DataSegmentCommon.ReadSinglePrecisionFloat(correspondingSubsection.RawData, address, correspondingSubsection.StartingAddress));
        }