예제 #1
0
 /// <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));
 }
예제 #2
0
        /// <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));
        }