/// <summary> /// Reads a null-terminated ASCII string from the .data segment. /// </summary> /// <param name="address">The address to retrieve the string from.</param> /// <returns>A string encoded in the ASCII encoding.</returns> public string ReadString(int address) { return(DataSegmentCommon.ReadString(m_ByteArray, address, m_RuntimeDataSegmentOffset)); }
/// <summary> /// Reads a null-terminated ASCII string from the .data segment. /// </summary> /// <param name="address">The address to retrieve the string from.</param> /// <returns>A string encoded in the ASCII encoding.</returns> public string ReadString(int address) { DataSubsection correspondingSubsection = GetDataSegmentForAddress(address); return(DataSegmentCommon.ReadString(correspondingSubsection.RawData, address, correspondingSubsection.StartingAddress)); }