diff --git a/Dalamud/Memory/MemoryHelper.cs b/Dalamud/Memory/MemoryHelper.cs index 0e72955af..d663f2245 100644 --- a/Dalamud/Memory/MemoryHelper.cs +++ b/Dalamud/Memory/MemoryHelper.cs @@ -207,21 +207,13 @@ namespace Dalamud.Memory return eosPos >= 0 ? data.Substring(0, eosPos) : data; } - /// - /// Read an SeString from a specified memory address. - /// - /// The memory address to read from. - /// The read in string. - public static SeString ReadSeString(IntPtr memoryAddress) - => ReadSeString(memoryAddress, 256); - /// /// Read an SeString from a specified memory address. /// /// The memory address to read from. /// The maximum length of the string. /// The read in string. - public static SeString ReadSeString(IntPtr memoryAddress, int maxLength) + public static SeString ReadSeString(IntPtr memoryAddress, int maxLength = 256) { ReadRaw(memoryAddress, maxLength, out var buffer);