/// <summary> /// Reads a byte from the data segment. /// </summary> /// <param name="address">The address in the .data segment to retrieve the byte from.</param> /// <returns>The byte stored at the provided address.</returns> public sbyte ReadSignedByte(int address) { return(DataSegmentCommon.ReadSignedByte(m_ByteArray, address, m_RuntimeDataSegmentOffset)); }
/// <summary> /// Reads a byte from the data segment. /// </summary> /// <param name="address">The address in the .data segment to retrieve the byte from.</param> /// <returns>The byte stored at the provided address.</returns> public sbyte ReadSignedByte(int address) { DataSubsection correspondingSubsection = GetDataSegmentForAddress(address); return(DataSegmentCommon.ReadSignedByte(correspondingSubsection.RawData, address, correspondingSubsection.StartingAddress)); }