refactor: remove unused method

This commit is contained in:
Anna 2021-09-30 14:33:23 -04:00
parent 4f985a31a9
commit 47c02a9d9b
1 changed files with 1 additions and 7 deletions

View File

@ -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<byte>();
}