/// <summary> /// Reads a 16 bit signed integer from the data segment. /// </summary> /// <param name="address">The address in the .data segment to retrieve the value from.</param> /// <returns>The 16-bit signed integer stored at the provided address.</returns> public short ReadShort(int address) { return(DataSegmentCommon.ReadShort(m_ByteArray, address, m_RuntimeDataSegmentOffset)); }
/// <summary> /// Reads a 16 bit signed integer from the data segment. /// </summary> /// <param name="address">The address in the .data segment to retrieve the value from.</param> /// <returns>The 16-bit signed integer stored at the provided address.</returns> public short ReadShort(int address) { DataSubsection correspondingSubsection = GetDataSegmentForAddress(address); return(DataSegmentCommon.ReadShort(correspondingSubsection.RawData, address, correspondingSubsection.StartingAddress)); }