diff --git a/NominaOcculta/Util.cs b/NominaOcculta/Util.cs index 09ba8f0..2e6e26a 100755 --- a/NominaOcculta/Util.cs +++ b/NominaOcculta/Util.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.Text; using Dalamud.Game.Text.SeStringHandling; using Dalamud.Game.Text.SeStringHandling.Payloads; @@ -64,12 +63,7 @@ namespace NominaOcculta { return SeString.Parse(bytes); } - internal static string ReadRawString(IntPtr ptr) { - var bytes = ReadRawBytes(ptr); - return Encoding.UTF8.GetString(bytes); - } - - internal static unsafe byte[] ReadRawBytes(IntPtr ptr) { + private static unsafe byte[] ReadRawBytes(IntPtr ptr) { if (ptr == IntPtr.Zero) { return Array.Empty(); }