refactor: remove unused method
This commit is contained in:
parent
4f985a31a9
commit
47c02a9d9b
|
@ -1,6 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
|
||||||
using Dalamud.Game.Text.SeStringHandling;
|
using Dalamud.Game.Text.SeStringHandling;
|
||||||
using Dalamud.Game.Text.SeStringHandling.Payloads;
|
using Dalamud.Game.Text.SeStringHandling.Payloads;
|
||||||
|
|
||||||
|
@ -64,12 +63,7 @@ namespace NominaOcculta {
|
||||||
return SeString.Parse(bytes);
|
return SeString.Parse(bytes);
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static string ReadRawString(IntPtr ptr) {
|
private static unsafe byte[] ReadRawBytes(IntPtr ptr) {
|
||||||
var bytes = ReadRawBytes(ptr);
|
|
||||||
return Encoding.UTF8.GetString(bytes);
|
|
||||||
}
|
|
||||||
|
|
||||||
internal static unsafe byte[] ReadRawBytes(IntPtr ptr) {
|
|
||||||
if (ptr == IntPtr.Zero) {
|
if (ptr == IntPtr.Zero) {
|
||||||
return Array.Empty<byte>();
|
return Array.Empty<byte>();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue