Ejemplo n.º 1
0
 /// <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));
 }
Ejemplo n.º 2
0
        /// <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));
        }