public static unsafe string GetStringASCII(this RangeAccessor <byte> stringAccessor) { return(Encoding.ASCII.GetString((byte *)stringAccessor.Data, stringAccessor.Count)); }
public static unsafe string GetStringASCII(this RangeAccessor <byte> stringAccessor) { return(LibreLancer.UnsafeHelpers.PtrToStringUTF8((IntPtr)stringAccessor.Data, stringAccessor.Count)); }