/// <summary> /// Reads an unsigned 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 byte ReadUnsignedByte(int address) { return(DataSegmentCommon.ReadUnsignedByte(m_ByteArray, address, m_RuntimeDataSegmentOffset)); }
/// <summary> /// Reads an unsigned 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 byte ReadUnsignedByte(int address) { DataSubsection correspondingSubsection = GetDataSegmentForAddress(address); return(DataSegmentCommon.ReadUnsignedByte(correspondingSubsection.RawData, address, correspondingSubsection.StartingAddress)); }